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 29, 2024 18:23GraceGraceScore: 7,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2024 18:237,02986,139,25754,319,0004,023,0002,437,120
2May 29, 2024 18:237,03285,821,09255,346,0003,018,0002,433,024
3May 29, 2024 18:237,03980,186,44955,399,0003,021,0002,514,944
4May 29, 2024 18:237,04282,253,63756,431,0002,015,0002,433,024
5May 29, 2024 18:237,04388,148,82955,431,0003,023,0002,453,504
6May 29, 2024 18:237,21089,185,37857,819,0002,028,0002,289,664
7May 29, 2024 18:237,21091,255,32757,848,0001,994,0002,437,120
8May 29, 2024 18:237,21487,734,57856,882,0002,993,0002,445,312
9May 29, 2024 18:237,21584,381,41957,886,0001,996,0002,494,464
10May 29, 2024 18:237,21582,740,78158,886,000998,0002,277,376
11May 29, 2024 18:237,23284,550,37457,028,0003,001,0002,301,952
12May 29, 2024 18:237,23586,706,98156,045,0004,003,0002,437,120
13May 29, 2024 18:237,23883,459,33556,071,0004,005,0002,289,664
14May 29, 2024 18:237,24384,042,87556,107,0004,007,0002,441,216
15May 29, 2024 18:237,25384,513,28456,184,0004,013,0002,338,816
16May 29, 2024 18:237,27785,398,62656,374,0004,026,0002,289,664
17May 29, 2024 18:237,32384,379,39357,788,0002,989,0002,473,984
18May 29, 2024 18:237,35183,419,45757,010,0004,000,0002,387,968
19May 29, 2024 18:237,38884,129,73058,307,0003,015,0002,367,488
20May 29, 2024 18:237,42993,135,23259,640,0002,021,0002,445,312
21May 29, 2024 18:237,44592,418,26458,807,0002,990,0002,289,664
22May 29, 2024 18:237,52285,829,44359,410,0003,020,0002,289,664
23May 29, 2024 18:237,56787,761,42859,812,0002,990,0002,441,216
24May 29, 2024 18:237,583138,942,17462,936,86702,195,456
25May 29, 2024 18:237,607128,363,74763,135,58302,195,456
26May 29, 2024 18:237,637142,331,34263,386,16502,199,552
27May 29, 2024 18:237,80991,835,27661,820,0002,991,0002,359,296
28May 29, 2024 18:237,944132,972,07565,937,40002,203,648
29May 29, 2024 18:238,016129,498,22766,534,68202,203,648
30May 29, 2024 18:238,837128,720,22473,349,14102,203,648