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 listJan 5, 2026 20:28lipapipalipapipaScore: 77,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2026 20:2877,408667,897,894633,494,0008,992,000380,928
2Jan 5, 2026 20:2877,714669,169,887630,049,00014,977,000344,064
3Jan 5, 2026 20:2877,741674,490,470634,262,00010,987,000323,584