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 16, 2024 21:04 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691176031746820 ", got "53691226843804867 " | |
| 2 | Jun 16, 2024 20:55 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681891770618914 ", got "53681892678396716 " | |
| 3 | Jun 16, 2024 20:56 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 189174735296 | stderr |
| 4 | Jun 16, 2024 20:56 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683131105295574 ", got "53683178580192358 " | |
| 5 | Jun 16, 2024 20:57 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 6 | Jun 16, 2024 20:57 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683515836840717 ", got "53683531763964781 " | |
| 7 | Jun 16, 2024 20:58 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688270337178891 ", got "53688461703560662 " | |
| 8 | Jun 16, 2024 20:58 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378349334976 | stderr |
| 9 | Jun 16, 2024 20:59 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690668625671862 ", got "53690682489217621 " | |
| 10 | Jun 16, 2024 21:00 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689865031678048 ", got "53689876162058731 " | |
| 11 | Jun 16, 2024 21:00 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689227454971046 ", got "53689617066191419 " | |
| 12 | Jun 16, 2024 21:01 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687446576309847 ", got "53687687551975104 " | |
| 13 | Jun 16, 2024 21:01 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 189174735296 | stderr |
| 14 | Jun 16, 2024 20:54 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683779925262725 ", got "53683809707987495 " | |
| 15 | Jun 16, 2024 21:05 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692426160289486 ", got "53692467275584811 " | |
| 16 | Jun 16, 2024 21:05 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690668709899790 ", got "53691072179545666 " | |
| 17 | Jun 16, 2024 21:06 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 18 | Jun 16, 2024 21:06 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688358584854258 ", got "53688378915250728 " | |
| 19 | Jun 16, 2024 21:07 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682064649170566 ", got "53682126227306875 " | |
| 20 | Jun 16, 2024 21:08 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691256010742380 ", got "53691304235482835 " | |
| 21 | Jun 16, 2024 21:08 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 189174735296 | stderr |
| 22 | Jun 16, 2024 21:09 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 23636740992 | stderr |
| 23 | Jun 27, 2024 15:27 | 0 | 0 | 0 | 0 | 0 | Error: expected "53686869034418274 ", got "53686900224942964 " | |
| 24 | Jun 27, 2024 15:28 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683127589548186 ", got "53683139479842932 " | |
| 25 | Jun 27, 2024 15:29 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 401602601472 | stderr |
| 26 | Jun 27, 2024 15:29 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692508039430758 ", got "53692687497476702 " | |
| 27 | Jun 16, 2024 20:54 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690092458284507 ", got "53690112788680977 " | |
| 28 | Jun 16, 2024 20:47 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 29 | Jun 16, 2024 20:48 | 0 | 0 | 0 | 0 | 0 | Error: expected "53686962202212278 ", got "53687203177877535 " | |
| 30 | Jun 16, 2024 20:48 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681082350487947 ", got "53681098277612011 " | |
| 31 | Jun 16, 2024 20:49 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688174288302927 ", got "53688183506530607 " | |
| 32 | Jun 16, 2024 20:49 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 33 | Jun 16, 2024 20:50 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692021740487578 ", got "53692093936248310 " | |
| 34 | Jun 16, 2024 20:51 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687254248025283 ", got "53687266138320029 " | |
| 35 | Jun 16, 2024 20:52 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688802771286604 ", got "53688823101683074 " | |
| 36 | Jun 16, 2024 20:52 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689260501652311 ", got "53689522195955656 " | |
| 37 | Jun 16, 2024 20:53 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 378164751872 | stderr |
| 38 | Jun 16, 2024 20:53 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692406191883204 ", got "53692809661759480 " | |
| 39 | Jun 16, 2024 20:50 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687727677535075 ", got "53687955651057265 " | |
| 40 | Jun 16, 2024 21:03 | 5,125 | 116,204,923 | 42,538,767 | 0 | 2,289,664 | ||
| 41 | Jun 16, 2024 21:02 | 5,139 | 111,922,207 | 42,652,927 | 0 | 2,420,736 | ||
| 42 | Jun 16, 2024 21:02 | 5,156 | 105,314,966 | 42,796,316 | 0 | 2,269,184 | ||
| 43 | Jun 27, 2024 15:30 | 5,159 | 126,411,966 | 42,820,509 | 0 | 2,293,760 | ||
| 44 | Jun 16, 2024 21:02 | 5,187 | 104,309,626 | 43,048,458 | 0 | 2,277,376 | ||
| 45 | Jun 16, 2024 21:03 | 5,215 | 118,314,403 | 43,286,199 | 0 | 2,412,544 | ||
| 46 | Jun 16, 2024 21:09 | 5,233 | 115,583,836 | 43,430,891 | 0 | 2,183,168 | ||
| 47 | Jun 27, 2024 15:30 | 5,249 | 110,274,685 | 43,565,201 | 0 | 2,416,640 | ||
| 48 | Jun 16, 2024 21:09 | 5,253 | 120,825,104 | 43,603,284 | 0 | 2,183,168 | ||
| 49 | Jun 16, 2024 21:09 | 5,267 | 105,889,730 | 43,715,975 | 0 | 2,183,168 | ||
| 50 | Jun 16, 2024 21:03 | 5,271 | 110,676,609 | 43,750,211 | 0 | 2,293,760 | ||
| 51 | Jun 27, 2024 15:30 | 5,305 | 112,017,963 | 44,028,972 | 0 | 2,277,376 |