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 10:43GraceGraceScore: 5,073Success
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 10:435,05163,909,57339,930,0001,996,0002,490,368
2May 31, 2024 10:435,05469,503,40540,948,000998,0002,400,256
3May 31, 2024 10:435,05467,578,68940,950,000998,0002,273,280
4May 31, 2024 10:435,05667,362,71139,965,0001,998,0002,273,280
5May 31, 2024 10:435,05868,303,38639,984,0001,999,0002,273,280
6May 31, 2024 10:435,05967,120,98340,992,000999,0002,404,352
7May 31, 2024 10:435,06165,957,84840,009,0002,000,0002,400,256
8May 31, 2024 10:435,06165,378,57941,010,0001,000,0002,404,352
9May 31, 2024 10:435,06159,438,31840,005,0002,000,0002,396,160
10May 31, 2024 10:435,06264,672,45541,011,0001,000,0002,273,280
11May 31, 2024 10:435,06364,857,28640,025,0002,001,0002,519,040
12May 31, 2024 10:435,06367,786,50740,022,0002,001,0002,273,280
13May 31, 2024 10:435,06367,303,38540,024,0002,001,0002,273,280
14May 31, 2024 10:435,06568,056,83741,037,0001,000,0002,408,448
15May 31, 2024 10:435,06666,369,02441,046,0001,001,0002,400,256
16May 31, 2024 10:435,06667,112,70840,048,0002,002,0002,273,280
17May 31, 2024 10:435,06764,694,12940,054,0002,002,0002,400,256
18May 31, 2024 10:435,06863,223,29841,061,0001,001,0002,392,064
19May 31, 2024 10:435,06863,489,07141,060,0001,001,0002,273,280
20May 31, 2024 10:435,06964,681,07742,075,00002,273,280
21May 31, 2024 10:435,06967,729,55142,076,00002,404,352
22May 31, 2024 10:435,06965,981,74541,068,0001,001,0002,404,352
23May 31, 2024 10:435,07065,545,01440,074,0002,003,0002,408,448
24May 31, 2024 10:435,07263,715,03840,090,0002,004,0002,273,280
25May 31, 2024 10:435,07368,615,27040,100,0002,005,0002,396,160
26May 31, 2024 10:435,07666,062,11640,128,0002,006,0002,510,848
27May 31, 2024 10:435,08063,660,08040,160,0002,008,0002,273,280
28May 31, 2024 10:436,31384,140,85752,401,00002,400,256
29May 31, 2024 10:436,32069,488,37351,452,0001,008,0002,392,064
30May 31, 2024 10:436,321113,933,38852,462,60102,289,664
31May 31, 2024 10:436,333113,013,95452,567,72802,297,856
32May 31, 2024 10:436,336113,583,70152,588,39602,285,568
33May 31, 2024 10:436,33980,924,26052,617,00002,273,280
34May 31, 2024 10:436,34076,543,47952,619,00002,408,448
35May 31, 2024 10:436,346104,218,69152,671,88802,289,664
36May 31, 2024 10:436,347106,690,05252,680,55102,293,760
37May 31, 2024 10:436,353118,770,11752,733,82602,281,472
38May 31, 2024 10:436,354111,631,53152,738,76802,281,472
39May 31, 2024 10:436,357123,809,03752,765,03902,285,568
40May 31, 2024 10:436,360114,957,38252,789,62202,281,472
41May 31, 2024 10:436,36386,592,67950,819,0001,992,0002,396,160
42May 31, 2024 10:436,36378,346,49250,819,0001,992,0002,396,160
43May 31, 2024 10:436,36786,135,17952,844,00002,273,280
44May 31, 2024 10:436,36975,239,33550,872,0001,994,0002,273,280
45May 31, 2024 10:436,401116,790,49753,129,12302,285,568
46May 31, 2024 10:436,40280,509,90751,129,0002,005,0002,396,160
47May 31, 2024 10:436,411128,279,32753,212,17502,277,376
48May 31, 2024 10:436,462115,926,75053,630,61902,285,568