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 19, 2025 10:36SinaSinaScore: 154,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2025 10:36153,9561,302,917,3141,033,060,000244,777,0002,277,376
2Nov 19, 2025 10:36154,3191,312,180,2381,033,072,000247,777,0002,437,120
3Nov 19, 2025 10:36154,5281,310,233,7441,036,856,000245,728,0002,494,464