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 19, 2021 20:04Yuriy LyfenkoYuriy LyfenkoScore: 17,516Success
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 20:0517,4912,364,393,182143,185,0001,988,0002,265,088
2May 19, 2021 20:0417,497444,430,145142,219,0003,004,0002,396,160
3May 19, 2021 20:0517,498478,970,213141,258,0003,979,0002,265,088
4May 19, 2021 20:0517,5001,526,810,467144,254,000994,0002,392,064
5May 19, 2021 20:0517,5012,102,352,962143,271,0001,989,0002,519,040
6May 19, 2021 20:0517,5012,877,292,100143,266,0001,989,0002,392,064
7May 19, 2021 20:0517,5042,065,333,773145,281,00002,523,136
8May 19, 2021 20:0417,5051,326,589,439143,298,0001,990,0002,256,896
9May 19, 2021 20:0417,506520,171,689144,296,0001,002,0002,396,160
10May 19, 2021 20:0417,509279,562,422142,340,0002,986,0002,265,088
11May 19, 2021 20:0417,5101,485,575,163143,347,0001,990,0002,519,040
12May 19, 2021 20:0517,5152,708,443,746143,383,0001,991,0002,256,896
13May 19, 2021 20:0417,5162,104,598,927143,376,0002,005,0002,490,368
14May 19, 2021 20:0517,5171,258,091,844142,403,0002,987,0002,265,088
15May 19, 2021 20:0417,5181,924,401,979144,394,0001,002,0002,523,136
16May 19, 2021 20:0417,5222,950,886,273144,435,000996,0002,523,136
17May 19, 2021 20:0417,5272,878,619,296142,485,0002,989,0002,260,992
18May 19, 2021 20:0517,9071,685,910,902146,637,0001,995,0002,527,232
19May 19, 2021 20:0517,9652,474,301,750149,111,52502,265,088
20May 19, 2021 20:0417,968836,266,605149,132,27702,273,280
21May 19, 2021 20:0417,972518,883,110149,163,63702,269,184
22May 19, 2021 20:0417,9871,404,299,691149,290,30102,273,280
23May 19, 2021 20:0517,9901,857,340,237149,318,41602,269,184
24May 19, 2021 20:0517,9962,313,042,468149,363,83202,269,184