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 listSep 11, 2026 06:50C#_userC#_userError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 11, 2026 06:500634,783,560623,389,0001,002,0002,117,632expected "53690944623725002 ", got "7030522041249635271 "
2Sep 11, 2026 06:500633,422,253623,260,0001,002,0002,117,632expected "53686301675054427 ", got "7225880149543460955 "
3Sep 11, 2026 06:500632,930,856623,270,0001,002,0002,117,632expected "53683604912699497 ", got "11932678329804296783 "