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 8, 2026 21:57TonyTonyError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2026 21:57039,017,38627,971,0001,147,0002,113,536expected "53686803282591469 ", got "648579090319162630 "
2Aug 8, 2026 21:57038,922,10327,846,0001,089,0002,113,536expected "53695755407844306 ", got "4341257844573671180 "
3Aug 8, 2026 21:57039,942,66527,995,0001,026,0002,113,536expected "53683060945455610 ", got "159331329731015432 "