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 12, 2024 14:19 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 401602601472 | stderr |
| 2 | Jun 12, 2024 13:59 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 401602601472 | stderr |
| 3 | Jun 12, 2024 14:01 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 4 | Jun 12, 2024 14:01 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692562297689336 ", got "53692630286359405 " | |
| 5 | Jun 12, 2024 14:02 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681880524623978 ", got "53681902382476407 " | |
| 6 | Jun 12, 2024 14:03 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683199952123801 ", got "53683247249682916 " | |
| 7 | Jun 12, 2024 14:03 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 23636740992 | stderr |
| 8 | Jun 12, 2024 14:04 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 9 | Jun 12, 2024 14:04 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691847347327094 ", got "53691943789565596 " | |
| 10 | Jun 12, 2024 14:09 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683108572812101 ", got "53683167213303472 " | |
| 11 | Jun 12, 2024 14:10 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691333907437318 ", got "53691723518657691 " | |
| 12 | Jun 12, 2024 14:11 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682300170875161 ", got "53682537951471014 " | |
| 13 | Jun 12, 2024 14:11 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681836467670850 ", got "53681888718887798 " | |
| 14 | Jun 12, 2024 14:12 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692021002682933 ", got "53692085237803698 " | |
| 15 | Jun 12, 2024 14:18 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688621875903381 ", got "53688642206299851 " | |
| 16 | Jun 12, 2024 14:18 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 189174735296 | stderr |
| 17 | Jun 12, 2024 13:58 | 0 | 0 | 0 | 0 | 0 | Error: expected "53680354232555512 ", got "53680403841838998 " | |
| 18 | Jun 12, 2024 14:19 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349335040 | stderr |
| 19 | Jun 12, 2024 14:20 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 20 | Jun 12, 2024 14:20 | 0 | 0 | 0 | 0 | 0 | Error: expected "53686309556899917 ", got "53686375780334596 " | |
| 21 | Jun 12, 2024 14:38 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689725640960419 ", got "53690129113166551 " | |
| 22 | Jun 12, 2024 14:39 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691349169059463 ", got "53691574219907216 " | |
| 23 | Jun 12, 2024 14:39 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349335040 | stderr |
| 24 | Jun 12, 2024 14:40 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683165327135756 ", got "53683183325829980 " | |
| 25 | Jun 12, 2024 14:41 | 0 | 0 | 0 | 0 | 0 | Error: expected "53680689967357839 ", got "53680701097738522 " | |
| 26 | Jun 12, 2024 14:41 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689184136633120 ", got "53689195267013803 " | |
| 27 | Jun 12, 2024 14:42 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692526188177369 ", got "53692592663962219 " | |
| 28 | Jun 12, 2024 14:42 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 53155990592 | stderr |
| 29 | Jun 12, 2024 14:51 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692801634524258 ", got "53692868110309108 " | |
| 30 | Jun 12, 2024 14:52 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688638265987715 ", got "53688702501108480 " | |
| 31 | Jun 12, 2024 14:53 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689479196937338 ", got "53689490327318021 " | |
| 32 | Jun 16, 2024 19:14 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688830388247649 ", got "53688878612988104 " | |
| 33 | Jun 12, 2024 13:57 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349335040 | stderr |
| 34 | Jun 12, 2024 14:05 | 5,141 | 109,753,234 | 42,670,972 | 0 | 2,293,760 | ||
| 35 | Jun 12, 2024 14:53 | 5,155 | 114,131,473 | 42,789,810 | 0 | 2,191,360 | ||
| 36 | Jun 12, 2024 14:00 | 5,163 | 105,761,400 | 42,854,247 | 0 | 2,293,760 | ||
| 37 | Jun 12, 2024 14:06 | 5,191 | 122,498,023 | 43,082,926 | 0 | 2,285,568 | ||
| 38 | Jun 12, 2024 14:43 | 5,195 | 105,792,199 | 43,117,503 | 0 | 2,297,856 | ||
| 39 | Jun 12, 2024 14:53 | 5,205 | 111,820,121 | 43,203,581 | 0 | 2,285,568 | ||
| 40 | Jun 12, 2024 14:09 | 5,208 | 115,569,454 | 43,228,381 | 0 | 2,183,168 | ||
| 41 | Jun 12, 2024 14:43 | 5,210 | 108,639,718 | 43,244,002 | 0 | 2,306,048 | ||
| 42 | Jun 12, 2024 14:21 | 5,210 | 107,024,958 | 43,243,677 | 0 | 2,273,280 | ||
| 43 | Jun 12, 2024 14:06 | 5,221 | 114,868,824 | 43,330,732 | 0 | 2,293,760 | ||
| 44 | Jun 12, 2024 14:12 | 5,239 | 121,374,216 | 43,480,511 | 0 | 2,412,544 | ||
| 45 | Jun 12, 2024 14:00 | 5,250 | 103,102,440 | 43,573,383 | 0 | 2,273,280 | ||
| 46 | Jun 12, 2024 14:53 | 5,254 | 111,203,885 | 43,608,703 | 0 | 2,293,760 | ||
| 47 | Jun 12, 2024 14:06 | 5,258 | 113,785,312 | 43,637,883 | 0 | 2,293,760 | ||
| 48 | Jun 12, 2024 14:21 | 5,259 | 115,968,601 | 43,647,657 | 0 | 2,183,168 | ||
| 49 | Jun 12, 2024 14:00 | 5,265 | 110,728,097 | 43,702,375 | 0 | 2,293,760 | ||
| 50 | Jun 12, 2024 14:21 | 5,267 | 113,154,540 | 43,713,035 | 0 | 2,301,952 | ||
| 51 | Jun 12, 2024 15:03 | 5,268 | 120,998,135 | 43,728,301 | 0 | 2,281,472 | ||
| 52 | Jun 12, 2024 13:58 | 5,270 | 109,150,039 | 43,738,961 | 0 | 2,174,976 | ||
| 53 | Jun 12, 2024 14:05 | 5,276 | 119,317,490 | 43,791,642 | 0 | 2,289,664 | ||
| 54 | Jun 12, 2024 15:03 | 5,284 | 142,901,348 | 43,858,407 | 0 | 2,174,976 | ||
| 55 | Jun 12, 2024 14:12 | 5,288 | 115,115,216 | 43,886,968 | 0 | 2,433,024 | ||
| 56 | Jun 12, 2024 14:09 | 5,288 | 109,724,844 | 43,892,062 | 0 | 2,297,856 | ||
| 57 | Jun 12, 2024 14:05 | 5,291 | 119,873,637 | 43,915,710 | 0 | 2,306,048 | ||
| 58 | Jun 12, 2024 14:43 | 5,294 | 133,565,279 | 43,936,851 | 0 | 2,301,952 | ||
| 59 | Jun 12, 2024 13:58 | 5,294 | 106,065,905 | 43,938,129 | 0 | 2,293,760 | ||
| 60 | Jun 12, 2024 13:58 | 5,301 | 119,938,153 | 44,001,803 | 0 | 2,301,952 | ||
| 61 | Jun 12, 2024 15:03 | 5,306 | 121,691,574 | 44,043,373 | 0 | 2,289,664 | ||
| 62 | Jun 12, 2024 14:12 | 5,317 | 119,954,559 | 44,129,005 | 0 | 2,289,664 | ||
| 63 | Jun 12, 2024 14:09 | 5,318 | 108,912,236 | 44,143,420 | 0 | 2,301,952 |