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 listJul 14, 2026 00:10boop34boop34Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2026 00:110174,191,321163,387,0001,075,0002,113,536expected "53689124818212806 ", got "53689124818210246 "
2Jul 14, 2026 00:1119,807174,138,796163,368,0001,036,0002,113,536
3Jul 14, 2026 00:1119,812174,253,873163,381,0001,065,0002,113,536
4Jul 14, 2026 00:1119,813174,275,507163,395,0001,053,0002,113,536
5Jul 14, 2026 00:1119,814175,436,315163,423,0001,040,0002,113,536
6Jul 14, 2026 00:1119,831174,919,737163,514,0001,084,0002,113,536
7Jul 14, 2026 00:1119,832174,938,781163,542,0001,069,0002,113,536
8Jul 14, 2026 00:1119,835174,856,053163,592,0001,044,0002,113,536
9Jul 14, 2026 00:1119,840174,696,359163,612,0001,068,0002,113,536