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 listApr 6, 2026 15:57Danylo MocherniukDanylo MocherniukScore: 6,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2026 15:586,22074,678,38650,612,0001,012,0002,437,120
2Apr 6, 2026 15:586,25077,003,96450,880,000997,0002,293,760
3Apr 6, 2026 15:576,25274,056,14949,895,0001,995,0002,293,760
4Apr 6, 2026 15:586,25376,869,70348,906,0002,994,0002,293,760
5Apr 6, 2026 15:586,26275,228,05949,973,0001,998,0002,293,760
6Apr 6, 2026 15:586,26774,397,90750,018,0002,000,0002,445,312
7Apr 6, 2026 15:586,26979,049,32550,029,0002,001,0002,293,760
8Apr 6, 2026 15:586,28276,265,58250,137,0002,005,0002,428,928
9Apr 6, 2026 15:576,28477,286,63151,153,0001,003,0002,293,760
10Apr 6, 2026 15:576,28576,575,74850,161,0002,006,0002,428,928
11Apr 6, 2026 15:586,33280,153,92451,548,0001,010,0002,441,216
12Apr 6, 2026 15:586,34379,252,11451,633,0001,012,0002,428,928