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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 22:1517,172169,523,140141,525,0001,003,0002,523,136
2May 29, 2021 14:5017,172168,880,318141,521,0001,003,0002,392,064
3May 29, 2021 14:5017,173170,964,126142,540,00002,260,992
4May 29, 2021 14:5017,173168,936,935141,536,0001,003,0002,260,992
5May 29, 2021 14:5017,175167,211,287141,551,0001,003,0002,260,992
6May 29, 2021 14:5017,175171,828,607141,550,0001,003,0002,260,992
7May 28, 2021 22:1517,180168,781,083142,592,00002,260,992
8May 28, 2021 22:1517,182167,027,288142,609,00002,506,752
9May 28, 2021 22:1517,192170,311,740141,700,000997,0002,396,160
10May 29, 2021 14:5017,200169,900,141141,759,000998,0002,260,992
11May 28, 2021 22:1517,203170,275,028140,792,0001,997,0002,260,992
12May 28, 2021 22:1517,205170,842,919140,807,0001,997,0002,396,160
13May 29, 2021 14:5017,284164,399,977142,457,0001,003,0002,383,872
14May 29, 2021 14:5017,287170,606,908143,485,00002,392,064
15May 28, 2021 22:1517,306169,425,689142,643,000997,0002,260,992
16May 29, 2021 14:5017,481175,450,898143,094,0002,001,0002,392,064
17May 28, 2021 22:1517,559187,310,310145,739,42202,269,184
18May 29, 2021 14:5017,567204,837,454145,807,39102,269,184
19May 29, 2021 14:5017,577218,213,029145,889,82002,269,184
20May 28, 2021 22:1517,577195,810,527145,886,96702,273,280
21May 28, 2021 22:1517,580218,166,667145,912,05102,269,184
22May 29, 2021 14:5017,581202,063,761145,919,55802,265,088
23May 28, 2021 22:1517,690171,844,864145,833,000998,0002,392,064
24May 28, 2021 22:1517,694172,739,079146,864,00002,396,160