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 22:18Ashish AhujaAshish AhujaScore: 11,413Success
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 22:1811,115128,529,24671,424,00020,832,0002,486,272
2Aug 22, 2025 22:1811,245119,563,26274,470,00018,865,0002,510,848
3Aug 22, 2025 22:1811,255120,592,07372,550,00020,870,0002,494,464
4Aug 22, 2025 22:1811,413119,909,00872,788,00021,936,0002,461,696
5Aug 22, 2025 22:1811,538123,529,66674,818,00020,949,0002,408,448
6Aug 22, 2025 22:1811,686123,941,98779,177,00017,814,0002,269,184