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 30, 2025 20:55Adam FolwarcznyAdam FolwarcznyScore: 10,445Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2025 20:5510,096107,274,28448,304,00035,489,0002,318,336
2Aug 30, 2025 20:5510,100115,946,60747,339,00036,490,0002,494,464
3Aug 30, 2025 20:5510,102111,454,27546,363,00037,485,0002,363,392
4Aug 30, 2025 20:5510,445114,739,00351,230,00035,467,0002,351,104
5Aug 30, 2025 20:5510,457111,972,49148,328,00038,465,0002,506,752
6Aug 30, 2025 20:5510,461120,749,86052,295,00034,534,0002,494,464