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 listSep 20, 2025 10:21sheryllynn24sheryllynn24Score: 11,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2025 10:2111,349126,448,56092,190,0002,004,0002,519,040
2Sep 20, 2025 10:2111,413123,460,96892,735,0001,994,0002,285,568
3Sep 20, 2025 10:2111,420124,997,33193,792,000997,0002,285,568
4Sep 20, 2025 10:2111,453124,725,84393,061,0002,001,0002,519,040
5Sep 20, 2025 10:2111,456120,880,80694,087,0001,000,0002,285,568
6Sep 20, 2025 10:2111,575126,747,11194,075,0002,001,0002,285,568