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 14, 2026 13:06marko1597marko1597Score: 317,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2026 13:10315,9592,632,422,0892,621,363,0001,100,0002,117,632stderr
2Aug 14, 2026 13:10316,4252,636,304,3982,625,200,0001,133,0002,117,632stderr
3Aug 14, 2026 13:10316,5172,637,020,6952,625,940,0001,153,0002,117,632stderr
4Aug 14, 2026 13:10317,0892,641,872,7722,630,635,0001,206,0002,117,632stderr
5Aug 14, 2026 13:10317,1512,643,350,6512,631,224,0001,137,0002,117,632stderr
6Aug 14, 2026 13:10317,6272,647,019,2272,635,060,0001,251,0002,117,632stderr
7Aug 14, 2026 13:10317,7452,647,415,0672,636,174,0001,116,0002,117,632stderr
8Aug 14, 2026 13:10317,8182,648,093,0382,635,872,0002,021,0002,117,632stderr
9Aug 14, 2026 13:10320,1502,667,151,0812,656,103,0001,142,0002,117,632stderr