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 15:38GraceGraceScore: 7,827Success
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 15:387,45385,766,83159,866,0001,995,0002,433,024
2May 29, 2024 15:387,46289,721,28457,942,0003,996,0002,510,848
3May 29, 2024 15:387,49085,055,83659,161,0003,008,0002,277,376
4May 29, 2024 15:387,53393,937,49459,495,0003,025,0002,273,280
5May 29, 2024 15:387,56094,553,54060,757,0001,992,0002,277,376
6May 29, 2024 15:387,56187,675,64958,776,0003,984,0002,428,928
7May 29, 2024 15:387,74996,601,87861,300,0003,014,0002,289,664
8May 29, 2024 15:387,76388,027,42961,412,0003,020,0002,428,928
9May 29, 2024 15:387,77688,845,05261,513,0003,025,0002,318,336
10May 29, 2024 15:387,77894,033,20661,530,0003,026,0002,449,408
11May 29, 2024 15:387,80290,072,41261,769,0002,988,0002,428,928
12May 29, 2024 15:387,81293,845,93661,850,0002,992,0002,502,656
13May 29, 2024 15:387,81591,686,83061,873,0002,993,0002,342,912
14May 29, 2024 15:387,82089,617,46663,910,000998,0002,428,928
15May 29, 2024 15:387,82299,824,72561,925,0002,996,0002,428,928
16May 29, 2024 15:387,82788,528,52161,966,0002,998,0002,433,024
17May 29, 2024 15:387,83492,295,15762,022,0003,001,0002,437,120
18May 29, 2024 15:387,83693,098,89461,033,0004,002,0002,392,064
19May 29, 2024 15:387,84687,059,03063,116,0002,003,0002,281,472
20May 29, 2024 15:387,86089,790,34962,231,0003,011,0002,281,472
21May 29, 2024 15:387,87292,442,28563,329,0002,010,0002,433,024
22May 29, 2024 15:387,87388,837,11662,327,0003,015,0002,281,472
23May 29, 2024 15:387,87492,021,08861,331,0004,021,0002,277,376
24May 29, 2024 15:387,88593,243,54162,424,0003,020,0002,441,216
25May 29, 2024 15:388,110136,716,03767,314,08702,183,168
26May 29, 2024 15:388,130122,871,38667,476,92402,248,704
27May 29, 2024 15:388,134128,872,32967,514,91602,248,704
28May 29, 2024 15:388,154127,776,48967,675,20402,306,048
29May 29, 2024 15:388,167143,894,17067,785,52702,244,608
30May 29, 2024 15:388,191125,635,36767,981,83702,187,264