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 listJun 25, 2026 06:21wnwnError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2026 06:22035,503,58727,021,0001,012,0002,113,536expected "53686254695777344 ", got "53686254695770014 "
2Jun 25, 2026 06:223,30734,877,70126,409,0001,041,0002,113,536
3Jun 25, 2026 06:223,39736,033,28027,189,0001,008,0002,113,536
4Jun 25, 2026 06:223,40736,099,47327,239,0001,046,0002,113,536
5Jun 25, 2026 06:223,42336,374,72127,378,0001,040,0002,113,536
6Jun 25, 2026 06:223,43136,284,24427,471,0001,008,0002,113,536
7Jun 25, 2026 06:223,43836,508,14527,521,0001,020,0002,113,536
8Jun 25, 2026 06:223,46336,215,47427,740,0001,003,0002,113,536
9Jun 25, 2026 06:223,46436,616,51327,720,0001,036,0002,113,536