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 listJul 2, 2023 21:47dzaimadzaimaScore: 16,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2023 21:4716,425159,446,502135,327,0001,002,0002,277,376
2Jul 2, 2023 21:4716,430158,614,668135,364,0001,002,0002,277,376
3Jul 2, 2023 21:4716,433156,177,593135,390,0001,002,0002,277,376
4Jul 2, 2023 21:4716,434159,615,390134,399,0002,005,0002,277,376
5Jul 2, 2023 21:4716,439163,270,615133,455,0002,987,0002,277,376
6Jul 2, 2023 21:4716,447165,362,702135,504,0001,003,0002,351,104
7Jul 2, 2023 21:4716,448161,295,289134,512,0002,007,0002,277,376
8Jul 2, 2023 21:4716,453161,673,585134,551,0002,008,0002,277,376
9Jul 2, 2023 21:4716,482163,100,142133,805,0002,995,0002,273,280
10Jul 2, 2023 21:4717,027206,441,627141,326,66102,265,088
11Jul 2, 2023 21:4717,055215,565,019141,553,69302,277,376
12Jul 2, 2023 21:4717,058206,571,492141,581,98102,228,224