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 listNov 5, 2026 19:04janwwwjanwwwScore: 4,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2026 19:054,12043,503,52533,114,0001,088,00020,480
2Nov 5, 2026 19:054,12943,598,71133,211,0001,067,00020,480
3Nov 5, 2026 19:054,12943,573,61933,206,0001,067,00020,480
4Nov 5, 2026 19:054,13343,521,91233,220,0001,086,00020,480
5Nov 5, 2026 19:054,13743,614,13533,235,0001,108,00020,480
6Nov 5, 2026 19:054,13743,538,82833,251,0001,089,00020,480
7Nov 5, 2026 19:054,14643,715,17333,344,0001,069,00020,480
8Nov 5, 2026 19:054,15043,677,20233,365,0001,080,00020,480
9Nov 5, 2026 19:054,31245,051,83434,695,0001,099,00020,480