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 listJun 25, 2023 04:00Gubin DmitryGubin DmitryScore: 75,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2023 04:0275,535706,184,963626,939,25002,195,456
2Jun 25, 2023 04:0075,542696,497,029627,001,15802,187,264
3Jun 25, 2023 04:0275,570696,983,330627,232,35302,179,072
4Jun 25, 2023 04:0275,574688,323,894627,263,91102,195,456
5Jun 25, 2023 04:0075,583701,030,049627,337,52002,195,456
6Jun 25, 2023 04:0075,802698,152,840629,155,70102,195,456