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 listMar 20, 2026 12:17Dominique GarmierDominique GarmierScore: 8,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 20, 2026 12:177,99094,439,21465,309,0001,004,0002,412,544
2Mar 20, 2026 12:178,03194,084,01765,648,0001,009,0002,289,664
3Mar 20, 2026 12:178,04595,814,31164,777,0001,993,0002,400,256
4Mar 20, 2026 12:178,06092,498,94365,904,000998,0002,289,664
5Mar 20, 2026 12:178,12589,439,68265,425,0002,013,0002,289,664
6Mar 20, 2026 12:178,12886,514,62066,453,0001,006,0002,396,160