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:52GraceGraceScore: 6,556Success
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:526,39578,308,78449,071,0004,005,0002,289,664
2May 29, 2024 15:526,45385,824,78250,531,0003,031,0002,310,144
3May 29, 2024 15:526,48481,020,80550,831,0002,990,0002,437,120
4May 29, 2024 15:526,48678,604,40949,846,0003,987,0002,428,928
5May 29, 2024 15:526,49576,882,48449,914,0003,993,0002,433,024
6May 29, 2024 15:526,49875,634,40850,941,0002,996,0002,289,664
7May 29, 2024 15:526,50177,273,59351,963,0001,998,0002,428,928
8May 29, 2024 15:526,50576,799,86049,992,0003,999,0002,433,024
9May 29, 2024 15:526,52180,137,94750,118,0004,009,0002,514,944
10May 29, 2024 15:526,52180,062,79650,116,0004,009,0002,338,816
11May 29, 2024 15:526,52476,784,15850,141,0004,011,0002,514,944
12May 29, 2024 15:526,52579,665,34851,149,0003,008,0002,289,664
13May 29, 2024 15:526,53878,854,83951,254,0003,014,0002,433,024
14May 29, 2024 15:526,54681,653,34651,314,0003,018,0002,527,232
15May 29, 2024 15:526,54679,211,96950,306,0004,024,0002,289,664
16May 29, 2024 15:526,55675,654,57650,382,0004,030,0002,289,664
17May 29, 2024 15:526,56781,155,28550,465,0004,037,0002,289,664
18May 29, 2024 15:526,57582,414,14150,530,0004,042,0002,289,664
19May 29, 2024 15:526,57990,710,23953,592,0001,011,0002,289,664
20May 29, 2024 15:526,58382,190,82551,601,0003,035,0002,424,832
21May 29, 2024 15:526,59980,346,52550,792,0003,983,0002,437,120
22May 29, 2024 15:526,60479,936,30250,824,0003,986,0002,437,120
23May 29, 2024 15:526,61183,588,57250,880,0003,990,0002,289,664
24May 29, 2024 15:526,63481,578,01052,062,0003,003,0002,322,432
25May 29, 2024 15:527,083126,086,95058,790,55602,306,048
26May 29, 2024 15:527,165131,366,96159,471,52302,179,072
27May 29, 2024 15:527,185134,450,89659,631,62802,297,856
28May 29, 2024 15:527,205135,119,37459,803,17602,191,360
29May 29, 2024 15:527,272123,757,48560,359,01602,187,264
30May 29, 2024 15:527,274126,690,78560,371,79202,187,264