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 listJun 25, 2025 10:21Valentin KofmanValentin KofmanScore: 6,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2025 10:226,08076,101,74450,466,00002,281,472
2Jun 25, 2025 10:226,08375,649,56949,476,0001,009,0002,281,472
3Jun 25, 2025 10:226,08470,887,33449,487,0001,009,0002,289,664
4Jun 25, 2025 10:226,08673,570,94049,507,0001,010,0002,273,280
5Jun 25, 2025 10:226,09281,806,74449,553,0001,011,0002,289,664
6Jun 25, 2025 10:226,10283,585,07450,649,00002,289,664
7Jun 25, 2025 10:226,12077,289,86647,809,0002,988,0002,281,472
8Jun 25, 2025 10:226,12280,864,54148,817,0001,992,0002,277,376
9Jun 25, 2025 10:226,24179,782,60549,809,0001,992,0002,265,088
10Jun 25, 2025 10:216,32773,615,92451,503,0001,009,0002,289,664
11Jun 25, 2025 10:216,34781,582,25352,679,00002,273,280
12Jun 25, 2025 10:216,36479,172,30850,832,0001,993,0002,269,184
13Jun 25, 2025 10:227,95293,451,01463,999,0001,999,0002,289,664
14Jun 25, 2025 10:227,97092,608,24665,151,0001,002,0002,269,184
15Jun 25, 2025 10:227,99990,900,72264,383,0002,011,0002,289,664
16Jun 25, 2025 10:218,17598,361,98767,852,00002,289,664
17Jun 25, 2025 10:218,19190,452,66266,988,000999,0002,289,664
18Jun 25, 2025 10:218,20192,337,51466,070,0002,002,0002,367,488