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 listJan 2, 2026 04:18Josu San MartinJosu San MartinScore: 6,562Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 04:196,24684,388,24348,791,0003,049,0002,461,696
2Jan 2, 2026 04:186,25676,134,44447,931,0003,994,0002,412,544
3Jan 2, 2026 04:196,26176,781,17349,969,0001,998,0002,269,184
4Jan 2, 2026 04:186,27076,352,32450,039,0002,001,0002,371,584
5Jan 2, 2026 04:186,27272,230,65149,057,0003,003,0002,379,776
6Jan 1, 2026 20:206,28580,544,30850,161,0002,006,0002,285,568
7Jan 1, 2026 20:206,28973,838,69546,174,0006,022,0002,260,992
8Jan 2, 2026 04:186,30382,117,08048,293,0004,024,0002,338,816
9Jan 2, 2026 04:186,31082,089,43549,356,0003,021,0002,506,752
10Jan 2, 2026 04:186,31174,483,82449,363,0003,022,0002,387,968
11Jan 2, 2026 04:196,33383,051,05949,536,0003,032,0002,400,256
12Jan 1, 2026 20:206,33584,975,58550,556,0002,022,0002,347,008
13Jan 1, 2026 20:206,56276,855,10849,420,0005,042,0002,359,296
14Jan 2, 2026 04:196,58581,200,87451,618,0003,036,0002,355,200
15Jan 1, 2026 20:206,60280,811,70253,803,000996,0002,510,848
16Jan 2, 2026 04:186,60977,704,30050,869,0003,989,0002,465,792
17Jan 2, 2026 04:186,61083,124,93652,870,0001,995,0002,428,928
18Jan 2, 2026 04:186,61278,486,20751,890,0002,993,0002,494,464
19Jan 2, 2026 04:186,61677,356,53752,919,0001,996,0002,322,432
20Jan 2, 2026 04:196,62575,226,58250,992,0003,999,0002,490,368
21Jan 2, 2026 04:186,63086,516,60053,031,0002,001,0002,314,240
22Jan 2, 2026 04:196,65888,067,04853,251,0002,009,0002,420,736
23Jan 2, 2026 04:186,65979,498,95852,252,0003,014,0002,437,120
24Jan 1, 2026 20:206,70580,173,99951,604,0004,047,0002,306,048