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 02:08Josu San MartinJosu San MartinScore: 5,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 22:245,55174,737,19745,073,0001,001,0002,371,584
2Jan 3, 2026 02:085,56368,435,31544,167,0002,007,0002,293,760
3Jan 3, 2026 02:085,65373,820,25244,925,0001,996,0002,367,488
4Jan 3, 2026 02:085,68678,484,03646,192,0001,004,0002,367,488
5Jan 2, 2026 22:245,68870,585,14846,208,0001,004,0002,289,664
6Jan 3, 2026 02:085,70068,157,22845,300,0002,013,0002,281,472
7Jan 3, 2026 02:085,70369,252,43846,326,0001,007,0002,293,760
8Jan 2, 2026 22:245,71969,519,27547,467,00002,367,488
9Jan 3, 2026 02:085,75876,254,59345,798,0001,991,0002,293,760
10Jan 3, 2026 02:085,77971,945,88146,969,000999,0002,367,488
11Jan 3, 2026 02:085,79069,914,08846,055,0002,002,0002,449,408
12Jan 3, 2026 02:085,79174,082,31746,061,0002,002,0002,363,392
13Jan 3, 2026 02:085,79371,002,85946,079,0002,003,0002,445,312
14Jan 3, 2026 02:085,80872,689,17446,201,0002,008,0002,281,472
15Jan 2, 2026 22:245,81873,126,20947,281,0001,005,0002,355,200
16Jan 2, 2026 22:245,88175,798,03448,814,00002,359,296
17Jan 2, 2026 22:245,90084,432,61146,974,0001,998,0002,379,776
18Jan 3, 2026 02:085,90173,775,04946,978,0001,999,0002,293,760