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: 314,459Success
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:09313,4152,613,393,4952,600,115,0001,231,0002,117,632stderr
2Aug 14, 2026 13:09313,4862,612,092,0132,600,697,0001,245,0002,117,632stderr
3Aug 14, 2026 13:09313,9102,615,722,3312,604,190,0001,265,0002,117,632stderr
4Aug 14, 2026 13:09314,2442,619,028,6292,606,985,0001,247,0002,117,632stderr
5Aug 14, 2026 13:09314,4592,620,854,5482,608,863,0001,149,0002,117,632stderr
6Aug 14, 2026 13:09314,4622,620,982,3152,608,789,0001,253,0002,117,632stderr
7Aug 14, 2026 13:09315,3282,627,842,2282,615,216,0002,011,0002,117,632stderr
8Aug 14, 2026 13:09315,3332,628,173,4672,615,042,0002,222,0002,117,632stderr
9Aug 14, 2026 13:09315,3452,627,632,0252,615,201,0002,166,0002,117,632stderr