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 17, 2021 20:27Yuriy LyfenkoYuriy LyfenkoScore: 17,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 18:2217,4963,033,105,070143,211,0002,002,0002,392,064
2May 17, 2021 20:5017,497783,300,655143,226,0002,003,0002,265,088
3May 17, 2021 20:5017,4972,026,350,247144,216,0001,008,0002,260,992
4May 17, 2021 20:2717,500404,962,757143,249,0002,003,0002,260,992
5May 17, 2021 20:2717,5021,185,870,539144,270,000994,0002,519,040
6May 17, 2021 20:5017,5031,252,001,885143,274,0002,003,0002,523,136
7May 17, 2021 20:5017,5032,452,369,601143,275,0002,003,0002,260,992
8May 17, 2021 20:5017,504420,462,758144,282,0001,001,0002,387,968
9May 17, 2021 20:2717,5071,944,322,332143,319,0001,990,0002,256,896
10May 17, 2021 20:5017,508884,040,052143,326,0001,990,0002,523,136
11May 17, 2021 20:5017,5101,586,336,686143,341,0001,990,0002,523,136
12May 17, 2021 20:2717,513504,663,553143,371,0001,991,0002,260,992
13May 19, 2021 18:2217,5131,368,999,604143,363,0001,991,0002,519,040
14May 19, 2021 18:2217,5141,747,809,932144,363,0001,002,0002,387,968
15May 19, 2021 18:2217,5161,745,513,762142,398,0002,987,0002,519,040
16May 17, 2021 20:2717,5173,056,925,933143,400,0001,991,0002,523,136
17May 17, 2021 20:2717,5172,899,664,234144,389,0001,002,0002,519,040
18May 19, 2021 18:2217,5172,670,005,430145,393,00002,387,968
19May 17, 2021 20:5017,518229,587,045144,404,000995,0002,260,992
20May 17, 2021 20:2717,5191,417,297,099143,415,0001,991,0002,482,176
21May 19, 2021 18:2217,520310,143,840143,426,0001,992,0002,527,232
22May 19, 2021 18:2217,521769,443,136143,431,0001,992,0002,256,896
23May 17, 2021 20:5017,522747,404,121143,444,0001,992,0002,265,088
24May 19, 2021 18:2217,5232,731,081,450143,448,0001,992,0002,260,992
25May 17, 2021 20:2717,5251,717,001,934143,467,0001,992,0002,519,040
26May 17, 2021 20:2717,5292,077,003,301143,496,0001,993,0002,519,040
27May 19, 2021 18:2217,5313,157,515,486144,514,000996,0002,260,992
28May 19, 2021 18:2217,9943,071,575,409149,352,91202,269,184
29May 19, 2021 18:2218,0031,115,479,079149,422,91802,273,280
30May 19, 2021 18:2218,009779,759,332149,475,44602,269,184