Parse integers Sergey Svistunov

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.

Back to listMay 27, 2024 13:39GraceGraceScore: 6,452Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 13:406,32378,354,80550,463,0002,018,0002,277,376
2May 27, 2024 13:396,32674,056,85251,499,0001,009,0002,285,568
3May 27, 2024 13:406,32982,434,65552,531,00002,285,568
4May 27, 2024 13:406,33481,576,55451,565,0001,011,0002,285,568
5May 27, 2024 13:396,33681,850,03851,578,0001,011,0002,273,280
6May 27, 2024 13:396,33778,043,19051,587,0001,011,0002,285,568
7May 27, 2024 13:396,33879,211,54652,608,00002,285,568
8May 27, 2024 13:406,33978,924,64951,603,0001,011,0002,269,184
9May 27, 2024 13:396,34081,036,40951,611,0001,011,0002,285,568
10May 27, 2024 13:406,34878,336,59751,672,0001,013,0002,285,568
11May 27, 2024 13:396,35073,123,87150,716,0001,988,0002,392,064
12May 27, 2024 13:396,36079,966,44350,796,0001,992,0002,277,376
13May 27, 2024 13:396,36481,175,03950,828,0001,993,0002,285,568
14May 27, 2024 13:406,44480,346,09051,470,0002,018,0002,285,568
15May 27, 2024 13:406,44580,754,46352,486,0001,009,0002,265,088
16May 27, 2024 13:406,45274,288,20453,555,00002,285,568
17May 27, 2024 13:406,45580,609,75352,563,0001,010,0002,273,280
18May 27, 2024 13:396,45685,468,84652,576,0001,011,0002,277,376
19May 27, 2024 13:396,532127,486,99454,215,12602,293,760
20May 27, 2024 13:406,541116,646,53254,288,33102,289,664
21May 27, 2024 13:406,542132,031,43154,302,72502,289,664
22May 27, 2024 13:406,542133,557,19154,299,37902,281,472
23May 27, 2024 13:396,656125,503,31155,247,45702,285,568
24May 27, 2024 13:396,695118,332,85155,568,22502,281,472
25May 27, 2024 13:407,85492,118,58663,185,0002,005,0002,277,376
26May 27, 2024 13:407,87788,397,23763,369,0002,011,0002,367,488
27May 27, 2024 13:407,88887,806,97064,466,0001,007,0002,273,280
28May 27, 2024 13:397,89292,151,43665,500,00002,285,568
29May 27, 2024 13:397,89587,598,96064,524,0001,008,0002,285,568
30May 27, 2024 13:397,92797,978,29063,803,0001,993,0002,285,568