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 22, 2025 13:48Ashish AhujaAshish AhujaScore: 11,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2025 13:4811,218123,487,54273,085,00020,023,0002,506,752
2Aug 22, 2025 13:4811,366121,353,29873,483,00020,853,0002,506,752
3Aug 22, 2025 13:4811,407125,776,51975,743,00018,935,0002,510,848
4Aug 22, 2025 13:4811,458122,828,45878,263,00016,841,0002,510,848
5Aug 22, 2025 13:4811,538124,944,89277,808,00017,955,0002,449,408
6Aug 22, 2025 13:4811,737122,735,78079,526,00017,893,0002,506,752