Parse integers 
Compute the sum of integers read from STDIN as fast as possible.
Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].
629871117
2024562523
1372689083
1021777120
2111176472
Output: The uint64 sum of all numbers, printed as a decimal string.
Note: Integer overflow is expected – use a 64-bit accumulator.
Source Code
Source code access is restricted. Log in to request access.
Challenge History
No challenges yet.
Run Statistics
| # | Date | Score | Wall Time | CPU User | CPU System | Memory | Error | |
|---|---|---|---|---|---|---|---|---|
| 1 | Jun 5, 2024 14:47 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 2 | Jun 5, 2024 14:42 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691246805895665 ", got "53691259327730331 " | |
| 3 | Jun 5, 2024 14:40 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 189174735296 | stderr |
| 4 | Jun 5, 2024 14:40 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689930684337301 ", got "53689941814717984 " | |
| 5 | Jun 5, 2024 14:39 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691324649941266 ", got "53691349462680031 " | |
| 6 | Jun 5, 2024 14:39 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 7 | Jun 5, 2024 14:36 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 8 | Jun 5, 2024 14:34 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690841185769129 ", got "53690873066008251 " | |
| 9 | Jun 5, 2024 14:34 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 53155990592 | stderr |
| 10 | Jun 5, 2024 14:42 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683901872487271 ", got "53684290835849356 " | |
| 11 | Jun 5, 2024 14:42 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349335040 | stderr |
| 12 | Jun 5, 2024 14:42 | 0 | 0 | 0 | 0 | 0 | Error: expected "53680858382786044 ", got "53680905680345159 " | |
| 13 | Jun 5, 2024 14:43 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688780295957310 ", got "53688793814388397 " | |
| 14 | Jun 5, 2024 14:43 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691083196688375 ", got "53691094327069058 " | |
| 15 | Jun 5, 2024 14:46 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691999715742390 ", got "53692179173788590 " | |
| 16 | Jun 5, 2024 14:46 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689704916486378 ", got "53689740238557045 " | |
| 17 | Jun 5, 2024 14:45 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682507788420206 ", got "53682543110490873 " | |
| 18 | Jun 5, 2024 14:44 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688239850320253 ", got "53688271730559375 " | |
| 19 | Jun 5, 2024 14:44 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689710295378019 ", got "53689723813809106 " | |
| 20 | Jun 5, 2024 14:44 | 0 | 0 | 0 | 0 | 0 | Error: expected "53679890529758558 ", got "53679973614243787 " | |
| 21 | Jun 5, 2024 14:43 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 401602601472 | stderr |
| 22 | Jun 5, 2024 14:42 | 5,213 | 109,510,297 | 43,270,774 | 0 | 2,297,856 | ||
| 23 | Jun 5, 2024 14:41 | 5,215 | 104,849,854 | 43,283,570 | 0 | 2,441,216 | ||
| 24 | Jun 5, 2024 14:44 | 5,217 | 122,974,292 | 43,298,471 | 0 | 2,179,072 | ||
| 25 | Jun 5, 2024 14:37 | 5,226 | 114,677,741 | 43,372,334 | 0 | 2,293,760 | ||
| 26 | Jun 5, 2024 14:42 | 5,239 | 104,607,186 | 43,482,017 | 0 | 2,273,280 | ||
| 27 | Jun 5, 2024 14:47 | 5,243 | 109,515,241 | 43,518,637 | 0 | 2,293,760 | ||
| 28 | Jun 5, 2024 14:33 | 5,244 | 101,924,670 | 43,522,161 | 0 | 2,281,472 | ||
| 29 | Jun 5, 2024 14:44 | 5,265 | 108,275,772 | 43,696,499 | 0 | 2,396,160 | ||
| 30 | Jun 5, 2024 14:37 | 5,267 | 116,359,905 | 43,720,248 | 0 | 2,289,664 | ||
| 31 | Jun 5, 2024 14:41 | 5,298 | 115,122,496 | 43,972,419 | 0 | 2,281,472 | ||
| 32 | Jun 5, 2024 14:47 | 5,299 | 117,172,333 | 43,979,390 | 0 | 2,183,168 | ||
| 33 | Jun 5, 2024 14:37 | 5,304 | 106,231,647 | 44,022,857 | 0 | 2,301,952 | ||
| 34 | Jun 5, 2024 14:33 | 5,307 | 108,826,452 | 44,051,946 | 0 | 2,428,928 | ||
| 35 | Jun 5, 2024 14:47 | 5,313 | 101,337,618 | 44,098,084 | 0 | 2,174,976 | ||
| 36 | Jun 5, 2024 14:35 | 5,313 | 121,843,533 | 44,095,730 | 0 | 2,281,472 | ||
| 37 | Jun 5, 2024 14:41 | 5,316 | 111,722,102 | 44,122,129 | 0 | 2,301,952 | ||
| 38 | Jun 5, 2024 14:44 | 5,320 | 115,264,765 | 44,155,527 | 0 | 2,306,048 | ||
| 39 | Jun 5, 2024 14:41 | 5,325 | 100,820,325 | 44,199,242 | 0 | 2,277,376 | ||
| 40 | Jun 5, 2024 14:35 | 5,327 | 125,395,120 | 44,211,737 | 0 | 2,289,664 | ||
| 41 | Jun 5, 2024 14:35 | 5,328 | 111,853,322 | 44,221,509 | 0 | 2,273,280 | ||
| 42 | Jun 5, 2024 14:33 | 5,334 | 120,064,862 | 44,273,538 | 0 | 2,265,088 | ||
| 43 | Jun 5, 2024 14:41 | 5,335 | 108,454,943 | 44,283,615 | 0 | 2,301,952 | ||
| 44 | Jun 5, 2024 14:41 | 5,352 | 122,431,153 | 44,418,043 | 0 | 2,273,280 | ||
| 45 | Jun 5, 2024 14:42 | 5,380 | 120,052,423 | 44,651,499 | 0 | 2,297,856 |