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:30GraceGraceScore: 6,445Success
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:306,340120,192,81752,625,87102,297,856
2May 29, 2024 18:306,343111,813,47152,645,32202,277,376
3May 29, 2024 18:306,349116,996,13752,696,93202,285,568
4May 29, 2024 18:306,351112,060,34952,716,78802,285,568
5May 29, 2024 18:306,353121,473,25452,733,70502,297,856
6May 29, 2024 18:306,367107,897,02852,843,39002,285,568
7May 29, 2024 18:306,41980,920,55451,268,0002,010,0002,273,280
8May 29, 2024 18:306,41979,939,74552,274,0001,005,0002,392,064
9May 29, 2024 18:306,42176,519,42952,292,0001,005,0002,400,256
10May 29, 2024 18:306,43286,760,06853,382,00002,408,448
11May 29, 2024 18:306,43274,249,47552,379,0001,007,0002,400,256
12May 29, 2024 18:306,43376,256,57352,387,0001,007,0002,273,280
13May 29, 2024 18:306,43872,827,50252,424,0001,008,0002,400,256
14May 29, 2024 18:306,44176,159,60952,449,0001,008,0002,404,352
15May 29, 2024 18:306,44576,874,93352,482,0001,009,0002,273,280
16May 29, 2024 18:306,44585,935,12053,490,00002,396,160
17May 29, 2024 18:306,44580,516,42453,490,00002,273,280
18May 29, 2024 18:306,44675,828,76552,495,0001,009,0002,273,280
19May 29, 2024 18:306,44676,167,23953,500,00002,273,280
20May 29, 2024 18:306,44675,987,43952,490,0001,009,0002,404,352
21May 29, 2024 18:306,45383,616,11152,551,0001,010,0002,273,280
22May 29, 2024 18:306,54484,905,76752,303,0002,011,0002,400,256
23May 29, 2024 18:306,56981,905,69653,513,0001,009,0002,273,280
24May 29, 2024 18:306,58187,790,25153,615,0001,011,0002,273,280
25May 29, 2024 18:307,84189,643,53863,081,0002,002,0002,396,160
26May 29, 2024 18:307,93892,525,40663,893,0001,996,0002,404,352
27May 29, 2024 18:307,93990,302,32663,898,0001,996,0002,387,968
28May 29, 2024 18:307,98089,775,95565,232,0001,003,0002,404,352
29May 29, 2024 18:308,04796,942,40366,793,00002,273,280
30May 29, 2024 18:308,04892,890,42065,802,000997,0002,396,160