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 listNov 19, 2024 01:15zielajzielajScore: 3,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 01:133,51150,710,04427,133,0002,009,0002,371,584
2Nov 19, 2024 01:133,52451,654,89728,240,0001,008,0002,371,584
3Nov 19, 2024 01:183,52751,832,22928,262,0001,009,0002,367,488
4Nov 19, 2024 01:153,54052,220,63729,382,00002,375,680
5Nov 19, 2024 01:183,54753,024,88329,444,00002,371,584
6Nov 19, 2024 01:153,55756,835,71329,524,00002,531,328
7Nov 19, 2024 01:133,56047,094,05629,552,00002,367,488
8Nov 19, 2024 01:153,66750,067,81030,433,00002,531,328
9Nov 19, 2024 01:183,67852,323,88429,511,0001,017,0002,527,232
10Nov 19, 2024 01:133,69656,158,03430,677,00002,527,232
11Nov 19, 2024 01:183,69860,599,46029,667,0001,023,0002,363,392
12Nov 19, 2024 01:133,72950,961,86629,951,000998,0002,531,328
13Nov 19, 2024 01:183,73256,548,37529,979,000999,0002,383,872
14Nov 19, 2024 01:133,74150,599,97330,053,0001,001,0002,469,888
15Nov 19, 2024 01:153,75153,882,76129,125,0002,008,0002,523,136
16Nov 19, 2024 01:183,76054,672,46430,204,0001,006,0002,527,232
17Nov 19, 2024 01:153,77954,571,38930,351,0001,011,0002,375,680
18Nov 19, 2024 01:153,78052,102,04931,371,00002,527,232