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 listAug 2, 2026 07:00Andrey TsvetkovAndrey TsvetkovError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2026 07:020346,867,144333,449,0002,196,0002,138,112expected "53685178316566160 ", got "53685186070967674 "
2Aug 2, 2026 07:0240,406345,764,290333,251,0002,120,0002,138,112
3Aug 2, 2026 07:0240,406346,933,738333,242,0002,130,0002,138,112
4Aug 2, 2026 07:0240,416346,177,597333,391,0002,068,0002,138,112
5Aug 2, 2026 07:0240,417346,754,277333,414,0002,051,0002,138,112
6Aug 2, 2026 07:0240,432347,004,658333,548,0002,039,0002,138,112
7Aug 2, 2026 07:0240,441347,031,686333,383,0002,283,0002,138,112
8Aug 2, 2026 07:0240,442347,884,410333,470,0002,201,0002,138,112
9Aug 2, 2026 07:0240,444347,210,863333,507,0002,182,0002,138,112