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 listNov 22, 2026 15:14Genos0Genos0Score: 56,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 22, 2026 15:1455,857473,461,638462,610,0001,005,0002,113,536
2Nov 22, 2026 15:1456,067474,593,503464,255,0001,107,0002,113,536
3Nov 22, 2026 15:1456,156475,368,685465,094,0001,002,0002,113,536
4Nov 22, 2026 15:1456,430478,024,203467,304,0001,066,0002,113,536
5Nov 22, 2026 15:1456,724480,074,810469,770,0001,045,0002,113,536
6Nov 22, 2026 15:1456,732480,153,115469,834,0001,047,0002,113,536
7Nov 22, 2026 15:1456,749482,129,129469,952,0001,066,0002,113,536
8Nov 22, 2026 15:1456,751480,701,617470,034,0001,002,0002,113,536
9Nov 22, 2026 15:1456,765481,055,038470,037,0001,115,0002,113,536