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 listJan 17, 2022 12:05Andrey TsvetkovAndrey TsvetkovScore: 32,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2022 12:0332,099322,861,730266,420,74302,211,840
2Jan 17, 2022 07:3932,115332,342,834266,554,03602,228,224
3Jan 17, 2022 07:4032,119330,239,602266,585,80602,228,224
4Jan 26, 2022 21:3132,119327,362,977266,584,41402,211,840
5Jan 17, 2022 11:1532,119322,392,568266,589,63702,220,032
6Jan 17, 2022 07:4732,121319,630,894266,602,58602,224,128
7Jan 17, 2022 12:0532,121326,286,829266,603,48302,211,840
8Jan 17, 2022 11:1532,124328,788,416266,626,05802,220,032
9Jan 17, 2022 12:0332,124335,879,373266,632,69702,207,744
10Jan 17, 2022 12:0332,124327,297,317266,626,78002,207,744
11Jan 17, 2022 07:4032,126324,587,415266,642,43902,211,840
12Jan 17, 2022 07:4732,127330,880,317266,652,30202,215,936
13Jan 26, 2022 21:3132,130332,056,984266,681,73702,211,840
14Jan 17, 2022 07:3932,133334,756,602266,702,41902,211,840
15Jan 17, 2022 12:0532,136334,800,025266,727,35202,220,032
16Jan 26, 2022 21:3132,136337,274,557266,731,98402,211,840
17Jan 17, 2022 11:1532,142338,722,517266,780,22902,211,840
18Jan 17, 2022 12:0532,142331,678,002266,777,86202,207,744
19Jan 17, 2022 07:4032,145336,019,758266,804,31302,220,032
20Jan 17, 2022 07:3932,148329,472,584266,830,50502,215,936
21Jan 17, 2022 07:4732,150327,210,879266,842,69502,215,936