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 | May 28, 2024 03:33 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683585820917184 ", got "53683610802131678 " | |
| 2 | May 28, 2024 03:41 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692410700531318 ", got "53692482896292050 " | |
| 3 | May 28, 2024 03:40 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688525450181782 ", got "53688568553373643 " | |
| 4 | May 28, 2024 03:39 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683782240922384 ", got "53683809972660167 " | |
| 5 | May 28, 2024 03:38 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690005651570380 ", got "53690102093808882 " | |
| 6 | May 28, 2024 03:37 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681661033739338 ", got "53681672164120021 " | |
| 7 | May 28, 2024 03:36 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681291945364289 ", got "53681367328536606 " | |
| 8 | May 28, 2024 03:35 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691029892688359 ", got "53691062341036328 " | |
| 9 | May 28, 2024 03:34 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683774367801598 ", got "53683826619018546 " | |
| 10 | May 28, 2024 03:43 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570490944 | stderr |
| 11 | May 28, 2024 03:32 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690692845676554 ", got "53690712610621181 " | |
| 12 | May 28, 2024 03:30 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681015642992513 ", got "53681081807937150 " | |
| 13 | May 28, 2024 03:29 | 0 | 0 | 0 | 0 | 0 | Error: expected "53679685844739838 ", got "53679763527890776 " | |
| 14 | May 28, 2024 03:28 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1082163328 | stderr |
| 15 | May 28, 2024 03:27 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690426173578463 ", got "53690458053817585 " | |
| 16 | May 28, 2024 03:25 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689019928212174 ", got "53689037704660109 " | |
| 17 | May 28, 2024 03:24 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688877667888999 ", got "53688924122852428 " | |
| 18 | May 28, 2024 03:51 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689307116510743 ", got "53689339564858712 " | |
| 19 | May 28, 2024 04:00 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681157221917247 ", got "53681209473134195 " | |
| 20 | May 28, 2024 03:58 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570490944 | stderr |
| 21 | May 28, 2024 03:57 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692939666444447 ", got "53693007655114516 " | |
| 22 | May 28, 2024 03:56 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683592776148549 ", got "53683603906529232 " | |
| 23 | May 28, 2024 03:55 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691651326785072 ", got "53691692442080397 " | |
| 24 | May 28, 2024 03:54 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1208025152 | stderr |
| 25 | May 28, 2024 03:53 | 0 | 0 | 0 | 0 | 0 | Error: expected "53693129589160793 ", got "53693135200282131 " | |
| 26 | May 28, 2024 03:52 | 0 | 0 | 0 | 0 | 0 | Error: expected "53680868688773845 ", got "53680909759133728 " | |
| 27 | May 28, 2024 03:23 | 0 | 0 | 0 | 0 | 0 | Error: expected "53686619069369888 ", got "53686708798515233 " | |
| 28 | May 28, 2024 03:50 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1208025152 | stderr |
| 29 | May 28, 2024 03:49 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683554396949860 ", got "53683579378164354 " | |
| 30 | May 28, 2024 03:48 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683330210855960 ", got "53683348209550184 " | |
| 31 | May 28, 2024 03:47 | 0 | 0 | 0 | 0 | 0 | Error: expected "53680847695659321 ", got "53680902497716292 " | |
| 32 | May 28, 2024 03:46 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681619399872949 ", got "53681637398567173 " | |
| 33 | May 28, 2024 03:45 | 0 | 0 | 0 | 0 | 0 | Error: expected "53679960533044469 ", got "53680012784261417 " | |
| 34 | May 28, 2024 03:44 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682426743911596 ", got "53682448587277765 " | |
| 35 | May 28, 2024 03:22 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681067503363234 ", got "53681119754580182 " | |
| 36 | May 28, 2024 02:57 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570490944 | stderr |
| 37 | May 28, 2024 02:58 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691815122450591 ", got "53691833429033236 " | |
| 38 | May 28, 2024 02:59 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 302022672 | stderr |
| 39 | May 28, 2024 03:00 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688874580101713 ", got "53688913303226772 " | |
| 40 | May 28, 2024 03:01 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690093058278984 ", got "53690150772089064 " | |
| 41 | May 28, 2024 03:02 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688873876035508 ", got "53688955422168471 " | |
| 42 | May 28, 2024 03:03 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690543348665658 ", got "53690548959786996 " | |
| 43 | May 28, 2024 03:04 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688244207876828 ", got "53688325754009791 " | |
| 44 | May 28, 2024 03:05 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687154609242935 ", got "53687192558938268 " | |
| 45 | May 28, 2024 03:06 | 0 | 0 | 0 | 0 | 0 | Error: expected "53685415766752430 ", got "53685485742609844 " | |
| 46 | May 28, 2024 03:07 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1082163328 | stderr |
| 47 | May 28, 2024 03:08 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 302022672 | stderr |
| 48 | May 28, 2024 03:11 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681357562046466 ", got "53681421134068083 " | |
| 49 | May 28, 2024 03:21 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683550081294944 ", got "53683550989072746 " | |
| 50 | May 28, 2024 03:20 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690526904375432 ", got "53690563737308189 " | |
| 51 | May 28, 2024 03:19 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1082163328 | stderr |
| 52 | May 28, 2024 03:17 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689589617289505 ", got "53689603135720592 " | |
| 53 | May 28, 2024 03:16 | 0 | 0 | 0 | 0 | 0 | Error: expected "53679736324443582 ", got "53679780460009466 " | |
| 54 | May 28, 2024 03:15 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 302022672 | stderr |
| 55 | May 28, 2024 03:14 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689749014163540 ", got "53689795469126969 " | |
| 56 | May 28, 2024 03:13 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687851148035189 ", got "53687921123892603 " | |
| 57 | May 28, 2024 03:12 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692718387837058 ", got "53692844461412793 " | |
| 58 | May 28, 2024 03:09 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681359597147122 ", got "53681389379871892 " | |
| 59 | May 28, 2024 03:18 | 6,146 | 113,443,101 | 51,010,387 | 0 | 2,191,360 | ||
| 60 | May 28, 2024 03:31 | 6,163 | 119,024,436 | 51,153,304 | 0 | 2,224,128 | ||
| 61 | May 28, 2024 04:01 | 6,250 | 117,380,828 | 51,874,939 | 0 | 2,224,128 | ||
| 62 | May 28, 2024 03:18 | 6,272 | 120,660,295 | 52,060,800 | 0 | 2,174,976 | ||
| 63 | May 28, 2024 03:18 | 6,325 | 118,852,266 | 52,499,706 | 0 | 2,195,456 | ||
| 64 | May 28, 2024 04:01 | 6,328 | 131,512,438 | 52,522,955 | 0 | 2,199,552 | ||
| 65 | May 28, 2024 03:31 | 6,340 | 108,904,824 | 52,624,089 | 0 | 2,215,936 | ||
| 66 | May 28, 2024 04:01 | 6,347 | 117,818,507 | 52,681,942 | 0 | 2,187,264 | ||
| 67 | May 28, 2024 03:31 | 6,347 | 109,799,240 | 52,683,621 | 0 | 2,220,032 |