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 13:49 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687856718567351 ", got "53688100656257491 " | |
| 2 | Jun 5, 2024 13:35 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691663691136306 ", got "53691714503194353 " | |
| 3 | Jun 5, 2024 13:35 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 23636740992 | stderr |
| 4 | Jun 5, 2024 13:36 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691577479183761 ", got "53691602291922526 " | |
| 5 | Jun 5, 2024 13:36 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690562753216130 ", got "53690594633455252 " | |
| 6 | Jun 5, 2024 13:37 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 380921491968 | stderr |
| 7 | Jun 5, 2024 13:37 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688718443672903 ", got "53688746920302420 " | |
| 8 | Jun 5, 2024 13:46 | 0 | 0 | 0 | 0 | 0 | Error: expected "53693370282128388 ", got "53693549740174332 " | |
| 9 | Jun 5, 2024 13:46 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691885590496340 ", got "53691926705791665 " | |
| 10 | Jun 5, 2024 13:47 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691593744115434 ", got "53691661732785503 " | |
| 11 | Jun 5, 2024 13:48 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689379181661420 ", got "53689604230202613 " | |
| 12 | Jun 5, 2024 13:48 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690591288122681 ", got "53690852982426026 " | |
| 13 | Jun 5, 2024 13:34 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688125832234085 ", got "53688136962614768 " | |
| 14 | Jun 5, 2024 13:49 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 15 | Sep 2, 2024 16:00 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 53155990592 | stderr |
| 16 | Sep 2, 2024 16:01 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 17 | Sep 2, 2024 16:01 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683746495907641 ", got "53683810135292878 " | |
| 18 | Sep 2, 2024 16:02 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691982497927175 ", got "53692046733047940 " | |
| 19 | Sep 2, 2024 16:03 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681108279719503 ", got "53681531171849614 " | |
| 20 | Sep 2, 2024 16:03 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349335040 | stderr |
| 21 | Sep 2, 2024 16:04 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690313089655179 ", got "53690379565440029 " | |
| 22 | Sep 2, 2024 16:04 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691696085840336 ", got "53691707976135082 " | |
| 23 | Sep 2, 2024 16:05 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 24 | Sep 2, 2024 16:05 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 25 | Jun 5, 2024 13:26 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689390918644408 ", got "53689426789088319 " | |
| 26 | Jun 5, 2024 13:25 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687387233230088 ", got "53687435457970543 " | |
| 27 | Jun 5, 2024 13:25 | 0 | 0 | 0 | 0 | 0 | Error: expected "53685789584412509 ", got "53685811442264938 " | |
| 28 | Jun 5, 2024 13:24 | 0 | 0 | 0 | 0 | 0 | Error: expected "53680863063408626 ", got "53680863971186428 " | |
| 29 | Jun 5, 2024 13:24 | 0 | 0 | 0 | 0 | 0 | Error: expected "53684753400002271 ", got "53684799837057820 " | |
| 30 | Jun 5, 2024 13:46 | 5,200 | 100,324,411 | 43,162,566 | 0 | 2,277,376 | ||
| 31 | Jun 5, 2024 13:22 | 5,210 | 110,654,257 | 43,242,766 | 0 | 2,179,072 | ||
| 32 | Jun 5, 2024 13:50 | 5,224 | 134,588,896 | 43,362,502 | 0 | 2,179,072 | ||
| 33 | Jun 5, 2024 13:46 | 5,224 | 121,763,093 | 43,359,480 | 0 | 2,277,376 | ||
| 34 | Jun 5, 2024 13:38 | 5,226 | 111,015,615 | 43,373,192 | 0 | 2,285,568 | ||
| 35 | Jun 5, 2024 13:21 | 5,228 | 101,574,219 | 43,389,901 | 0 | 2,297,856 | ||
| 36 | Jun 5, 2024 13:22 | 5,230 | 116,210,923 | 43,407,062 | 0 | 2,297,856 | ||
| 37 | Jun 5, 2024 13:38 | 5,230 | 120,057,724 | 43,409,390 | 0 | 2,301,952 | ||
| 38 | Jun 5, 2024 13:21 | 5,235 | 119,410,737 | 43,449,804 | 0 | 2,297,856 | ||
| 39 | Jun 5, 2024 13:50 | 5,237 | 111,127,496 | 43,469,651 | 0 | 2,281,472 | ||
| 40 | Jun 5, 2024 13:27 | 5,241 | 100,443,665 | 43,498,720 | 0 | 2,289,664 | ||
| 41 | Jun 5, 2024 13:38 | 5,245 | 115,747,642 | 43,533,732 | 0 | 2,277,376 | ||
| 42 | Jun 5, 2024 13:50 | 5,251 | 122,671,847 | 43,586,246 | 0 | 2,293,760 | ||
| 43 | Jun 5, 2024 13:46 | 5,255 | 101,549,059 | 43,618,124 | 0 | 2,174,976 | ||
| 44 | Jun 5, 2024 13:22 | 5,264 | 110,601,652 | 43,693,371 | 0 | 2,293,760 | ||
| 45 | Jun 5, 2024 13:21 | 5,270 | 100,325,179 | 43,742,404 | 0 | 2,281,472 | ||
| 46 | Jun 5, 2024 13:27 | 5,291 | 121,642,083 | 43,917,540 | 0 | 2,183,168 | ||
| 47 | Jun 5, 2024 13:27 | 5,312 | 122,289,234 | 44,089,348 | 0 | 2,301,952 |