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 26, 2025 19:22sheryllynn24sheryllynn24Score: 6,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 19:226,34477,947,81751,647,0001,012,0002,285,568
2Sep 26, 2025 19:226,36184,150,12950,808,0001,992,0002,285,568
3Sep 26, 2025 19:226,36281,366,09452,804,00002,285,568
4Sep 26, 2025 19:226,46583,492,83252,645,0001,012,0002,285,568
5Sep 26, 2025 19:226,48477,486,45751,826,0001,993,0002,285,568
6Sep 26, 2025 19:226,48785,886,22051,847,0001,994,0002,265,088