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 8, 2021 19:56Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 109,399Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 20:00109,392963,981,482907,957,28702,220,032
2Jul 8, 2021 19:56109,393970,626,315907,963,38702,215,936
3Jul 8, 2021 19:57109,393974,049,217907,965,69102,220,032
4Jul 8, 2021 20:36109,396969,797,339907,990,90902,215,936
5Jul 8, 2021 20:36109,397969,153,419907,995,87902,215,936
6Jul 8, 2021 19:57109,398976,548,495908,005,09702,211,840
7Jul 8, 2021 21:11109,398967,883,923908,006,72802,220,032
8Jul 8, 2021 20:36109,399961,555,714908,010,29302,224,128
9Jul 8, 2021 20:00109,401962,582,966908,028,68402,220,032
10Jul 8, 2021 21:11109,401969,378,425908,030,24902,220,032
11Jul 8, 2021 21:11109,404970,206,555908,052,65302,220,032
12Jul 8, 2021 19:56109,410970,933,999908,103,50802,224,128
13Jul 8, 2021 19:57109,410978,108,549908,101,79502,215,936
14Jul 8, 2021 20:00109,411978,238,151908,110,60702,224,128
15Jul 8, 2021 19:56109,420985,479,630908,183,64802,211,840