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 listMay 23, 2025 13:45vahookvahookScore: 4,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2025 13:454,58462,686,86334,041,0004,004,0002,428,928
2May 23, 2025 13:454,63057,627,26735,395,0003,033,0002,465,792
3May 23, 2025 13:454,66064,232,07836,643,0002,035,0002,428,928
4May 23, 2025 13:454,68263,402,70734,878,0003,986,0002,433,024
5May 23, 2025 13:454,70264,962,48835,021,0004,002,0002,437,120
6May 23, 2025 13:454,76563,731,31835,494,0004,056,0002,433,024