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 22, 2021 15:46Yuriy LyfenkoYuriy LyfenkoScore: 17,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 15:4517,273175,097,777142,364,0001,002,0002,396,160
2May 22, 2021 15:4417,279168,206,653142,417,0001,002,0002,392,064
3May 22, 2021 15:4517,280170,386,200142,422,0001,002,0002,260,992
4May 22, 2021 15:4417,283163,283,855142,450,0001,003,0002,506,752
5May 22, 2021 15:4617,285164,255,263143,465,00002,396,160
6May 22, 2021 15:4517,286165,883,622142,472,0001,003,0002,523,136
7May 22, 2021 15:4617,288172,619,449143,492,00002,260,992
8May 22, 2021 15:4617,294174,355,018142,538,0001,003,0002,392,064
9May 22, 2021 15:4417,295168,202,418142,546,0001,003,0002,400,256
10May 22, 2021 15:4617,295173,640,159143,549,00002,506,752
11May 22, 2021 15:4517,296169,446,488143,553,00002,260,992
12May 22, 2021 15:4417,296171,914,139142,553,0001,003,0002,260,992
13May 22, 2021 15:4517,297174,473,641143,566,00002,396,160
14May 22, 2021 15:4517,301174,071,976141,605,0001,994,0002,260,992
15May 22, 2021 15:4417,303168,596,812142,611,0001,004,0002,392,064
16May 22, 2021 15:4617,320171,948,080143,753,00002,260,992
17May 22, 2021 15:4417,320167,925,249143,756,00002,260,992
18May 22, 2021 15:4617,322170,379,206142,777,000998,0002,387,968
19May 22, 2021 15:4617,328171,981,048141,827,0001,997,0002,260,992
20May 22, 2021 15:4417,335168,621,813142,883,000999,0002,392,064
21May 22, 2021 15:4617,371169,807,453144,178,00002,260,992
22May 22, 2021 15:4517,376166,718,257142,219,0002,003,0002,260,992
23May 22, 2021 15:4517,624168,224,367145,281,0001,001,0002,260,992
24May 22, 2021 15:4417,643167,446,016146,441,00002,379,776
25May 22, 2021 15:4617,648171,629,980146,478,00002,396,160
26May 22, 2021 15:4417,655169,719,644146,537,00002,387,968
27May 22, 2021 15:4517,780216,123,183147,576,58402,269,184
28May 22, 2021 15:4517,791222,385,543147,668,10602,265,088
29May 22, 2021 15:4417,794209,886,936147,688,29102,265,088
30May 22, 2021 15:4417,798208,346,556147,725,08902,273,280
31May 22, 2021 15:4417,809211,051,564147,818,28302,265,088
32May 22, 2021 15:4617,810209,661,364147,820,79902,269,184
33May 22, 2021 15:4617,811206,602,546147,830,32802,273,280
34May 22, 2021 15:4517,822203,723,001147,924,60602,269,184
35May 22, 2021 15:4617,829223,983,806147,983,18902,252,800
36May 22, 2021 15:4517,870175,712,278148,325,00002,392,064