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 4, 2025 19:59Aniruddha DebAniruddha DebScore: 21,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2025 20:0221,382204,913,389177,473,00002,531,328
2May 4, 2025 20:0321,399203,568,992176,606,0001,003,0002,433,024
3May 4, 2025 19:5921,413204,918,765176,733,000998,0002,531,328
4May 4, 2025 20:0221,414201,982,694176,742,000998,0002,531,328
5May 4, 2025 20:0221,414201,786,165175,738,0001,997,0002,531,328
6May 4, 2025 20:0321,415198,218,706175,748,0001,997,0002,531,328
7May 4, 2025 20:0321,415201,040,203176,749,000998,0002,510,848
8May 4, 2025 20:0321,416203,259,391176,757,000998,0002,531,328
9May 4, 2025 20:0321,416202,737,787176,751,000998,0002,428,928
10May 4, 2025 20:0221,418199,853,998176,768,000998,0002,420,736
11May 4, 2025 20:0321,419203,519,477176,777,000998,0002,424,832
12May 4, 2025 20:0221,419201,199,641175,781,0001,997,0002,424,832
13May 4, 2025 20:0321,423197,685,152176,817,000998,0002,428,928
14May 4, 2025 19:5921,424202,563,851176,824,000999,0002,420,736
15May 4, 2025 20:0321,428198,704,886176,850,000999,0002,531,328
16May 4, 2025 19:5921,436205,780,432176,922,000999,0002,531,328
17May 4, 2025 20:0321,439197,917,168176,941,000999,0002,531,328
18May 4, 2025 20:0221,506202,302,315178,502,00002,260,992