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 listDec 29, 2022 10:56Bernard TeoBernard TeoScore: 6,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2022 10:136,284110,622,24952,154,81602,281,472
2Dec 29, 2022 10:136,286127,093,71352,174,24502,285,568
3Dec 29, 2022 10:566,289109,000,93852,202,67802,277,376
4Dec 29, 2022 10:566,291115,276,33952,218,26302,273,280
5Dec 29, 2022 10:136,297105,029,22352,267,67702,273,280
6Dec 29, 2022 10:566,301115,307,46752,295,35602,273,280
7Dec 29, 2022 10:566,44479,049,96353,487,00002,273,280
8Dec 29, 2022 10:566,44680,715,41052,496,0001,009,0002,273,280
9Dec 29, 2022 10:136,44672,445,13052,493,0001,009,0002,490,368
10Dec 29, 2022 10:566,45174,939,69953,545,00002,396,160
11Dec 29, 2022 10:566,45175,467,78652,532,0001,010,0002,400,256
12Dec 29, 2022 10:566,45579,702,59853,574,00002,273,280
13Dec 29, 2022 10:566,45580,353,93852,566,0001,010,0002,273,280
14Dec 29, 2022 10:136,45787,010,01852,581,0001,011,0002,273,280
15Dec 29, 2022 10:566,45785,839,08352,584,0001,011,0002,400,256
16Dec 29, 2022 10:566,45778,884,77352,581,0001,011,0002,273,280
17Dec 29, 2022 10:566,45881,552,21253,602,00002,273,280
18Dec 29, 2022 10:136,45879,939,63952,612,000992,0002,273,280
19Dec 29, 2022 10:136,45986,526,81252,596,0001,011,0002,273,280
20Dec 29, 2022 10:136,46082,731,31553,620,00002,273,280
21Dec 29, 2022 10:566,46181,640,11753,629,00002,273,280
22Dec 29, 2022 10:566,46179,018,01052,612,0001,011,0002,273,280
23Dec 29, 2022 10:136,46177,577,03052,618,0001,011,0002,396,160
24Dec 29, 2022 10:566,46379,974,63652,632,0001,012,0002,404,352
25Dec 29, 2022 10:136,46381,973,07852,633,0001,012,0002,392,064
26Dec 29, 2022 10:136,46482,643,53452,640,0001,012,0002,404,352
27Dec 29, 2022 10:136,46483,269,35652,638,0001,012,0002,404,352
28Dec 29, 2022 10:136,46484,692,75052,638,0001,012,0002,273,280
29Dec 29, 2022 10:136,46478,876,18652,643,0001,012,0002,400,256
30Dec 29, 2022 10:136,48579,691,80551,832,0001,993,0002,273,280