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 31, 2024 04:03GraceGraceScore: 5,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 04:035,60998,656,01146,556,40902,289,664
2May 31, 2024 04:045,609119,211,26146,555,33902,277,376
3May 31, 2024 04:045,612111,897,99546,576,42002,281,472
4May 31, 2024 04:045,614107,370,99146,593,32002,297,856
5May 31, 2024 04:035,615113,287,73946,603,21802,281,472
6May 31, 2024 04:045,622102,973,75846,663,79902,289,664
7May 31, 2024 04:045,626109,780,54646,699,35102,281,472
8May 31, 2024 04:045,633121,610,42146,756,31702,277,376
9May 31, 2024 04:045,634126,148,02446,766,14902,289,664
10May 31, 2024 04:035,634115,620,21746,765,84302,285,568
11May 31, 2024 04:045,638118,219,29546,791,34402,281,472
12May 31, 2024 04:045,640129,818,94246,811,45602,289,664
13May 31, 2024 04:035,645119,726,20846,851,53102,281,472
14May 31, 2024 04:045,652116,270,32546,910,28902,289,664
15May 31, 2024 04:035,652125,225,40746,910,40602,297,856
16May 31, 2024 04:045,658123,319,34246,957,95202,281,472
17May 31, 2024 04:045,661126,666,48946,982,36202,289,664
18May 31, 2024 04:035,663139,769,42947,006,35602,289,664
19May 31, 2024 04:045,675123,463,15547,104,03502,293,760
20May 31, 2024 04:035,681131,083,66547,154,07002,289,664
21May 31, 2024 04:045,683111,008,77147,167,33502,285,568
22May 31, 2024 04:035,693120,813,34447,252,49302,285,568
23May 31, 2024 04:045,706122,343,81547,359,12102,285,568
24May 31, 2024 04:035,737107,284,91147,613,50302,285,568