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 listMar 4, 2026 17:04caandocaandoScore: 5,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 17:045,10767,850,75440,366,0002,018,0002,289,664
2Mar 4, 2026 17:045,10765,079,23040,368,0002,018,0002,510,848
3Mar 4, 2026 17:045,11072,513,37140,392,0002,019,0002,527,232
4Mar 4, 2026 17:105,11266,125,53941,417,0001,010,0002,289,664
5Mar 4, 2026 17:105,11467,992,52041,437,0001,010,0002,510,848
6Mar 4, 2026 17:045,11665,698,90840,443,0002,022,0002,375,680
7Mar 4, 2026 17:105,11664,110,37540,444,0002,022,0002,289,664
8Mar 4, 2026 17:105,11965,611,70440,461,0002,023,0002,519,040
9Mar 4, 2026 17:105,11970,041,70441,480,0001,011,0002,519,040
10Mar 4, 2026 17:105,12068,088,58741,487,0001,011,0002,289,664
11Mar 4, 2026 17:105,12061,857,05840,477,0002,023,0002,519,040
12Mar 4, 2026 17:105,12164,968,54639,471,0003,036,0002,523,136
13Mar 4, 2026 17:045,12165,496,53441,494,0001,012,0002,510,848
14Mar 4, 2026 17:105,12164,311,78641,492,0001,012,0002,514,944
15Mar 4, 2026 17:045,12664,949,37341,534,0001,013,0002,285,568
16Mar 4, 2026 17:045,13071,502,03041,568,0001,013,0002,289,664
17Mar 4, 2026 17:045,13064,488,51639,605,0002,970,0002,510,848
18Mar 4, 2026 17:105,13569,818,66241,605,0001,014,0002,514,944
19Mar 4, 2026 17:045,13674,448,77641,617,0001,015,0002,285,568
20Mar 4, 2026 17:045,13971,002,30042,652,00002,523,136
21Mar 4, 2026 17:105,13971,751,52940,626,0002,031,0002,289,664
22Mar 4, 2026 17:045,14266,666,74642,675,00002,265,088
23Mar 4, 2026 17:045,19269,894,00041,091,0002,004,0002,289,664
24Mar 4, 2026 17:105,23168,174,76040,389,0003,029,0002,289,664