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 listApr 14, 2024 10:46E SequeiraE SequeiraScore: 19,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2024 10:4619,048180,825,054156,101,0002,001,0002,330,624
2Apr 14, 2024 10:4619,050179,723,232156,115,0002,001,0002,289,664
3Apr 14, 2024 10:4619,051184,712,543157,122,0001,000,0002,289,664
4Apr 14, 2024 10:4619,071186,393,020156,289,0002,003,0002,469,888
5Apr 14, 2024 10:4619,077185,089,893157,341,0001,002,0002,289,664
6Apr 14, 2024 10:4619,078183,955,678156,340,0002,004,0002,289,664
7Apr 14, 2024 10:4619,083183,155,478157,391,0001,002,0002,473,984
8Apr 14, 2024 10:4619,088185,602,650157,428,0001,002,0002,281,472
9Apr 14, 2024 10:4619,130191,637,435156,778,0001,997,0002,473,984
10Apr 14, 2024 10:4619,474232,333,251161,634,40402,224,128
11Apr 14, 2024 10:4619,543231,202,946162,205,97202,232,320
12Apr 14, 2024 10:4619,560233,093,997162,344,16902,256,896