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 23, 2026 07:57MaximMaximScore: 21,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2026 07:5721,715189,314,242179,138,0001,098,0002,113,536
2Nov 23, 2026 07:5721,716189,279,632179,160,0001,091,0002,113,536
3Nov 23, 2026 07:5721,722189,310,701179,182,0001,116,0002,113,536
4Nov 23, 2026 07:5721,722189,351,179179,205,0001,091,0002,113,536
5Nov 23, 2026 07:5721,733189,418,090179,267,0001,120,0002,113,536
6Nov 23, 2026 07:5721,736189,548,818179,313,0001,096,0002,113,536
7Nov 23, 2026 07:5721,738189,488,254179,311,0001,121,0002,113,536
8Nov 23, 2026 07:5721,749189,652,744179,340,0001,184,0002,113,536
9Nov 23, 2026 07:5721,751189,615,338179,358,0001,177,0002,113,536