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 listJan 3, 2026 03:23Josu San MartinJosu San MartinScore: 5,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 03:235,39870,348,75740,818,0003,982,0002,351,104
2Jan 3, 2026 03:245,42769,290,08742,039,0003,002,0002,498,560
3Jan 3, 2026 03:245,44766,077,78943,204,0002,009,0002,277,376
4Jan 3, 2026 03:245,46067,905,25444,315,0001,007,0002,494,464
5Jan 3, 2026 03:215,47667,150,35642,424,0003,030,0002,514,944
6Jan 3, 2026 03:245,56576,299,95344,184,0002,008,0002,334,720
7Jan 3, 2026 03:215,59868,449,60646,463,00002,482,176
8Jan 3, 2026 03:245,63273,344,58743,765,0002,984,0002,498,560
9Jan 3, 2026 03:235,64177,177,13245,822,000996,0002,306,048
10Jan 3, 2026 03:215,64468,789,15145,831,0001,018,0002,359,296
11Jan 3, 2026 03:245,64472,877,90944,854,0001,993,0002,367,488
12Jan 3, 2026 03:215,64671,666,86845,868,000997,0002,351,104
13Jan 3, 2026 03:235,64875,972,01345,878,000997,0002,293,760
14Jan 3, 2026 03:235,65470,535,99644,930,0001,996,0002,367,488
15Jan 3, 2026 03:235,66373,309,36446,007,0001,000,0002,523,136
16Jan 3, 2026 03:245,66779,611,59744,037,0003,002,0002,367,488
17Jan 3, 2026 03:245,73074,691,56146,546,0001,011,0002,490,368
18Jan 3, 2026 03:245,73075,449,75647,563,00002,498,560
19Jan 3, 2026 03:215,73276,122,36645,552,0002,024,0002,277,376
20Jan 3, 2026 03:215,74177,346,31246,641,0001,013,0002,289,664
21Jan 3, 2026 03:235,76974,846,14245,887,0001,995,0002,502,656
22Jan 3, 2026 03:245,79772,612,57646,108,0002,004,0002,334,720
23Jan 3, 2026 03:245,84578,733,97547,501,0001,010,0002,514,944
24Jan 3, 2026 03:245,88475,741,61546,845,0001,993,0002,510,848