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 24, 2026 05:55servant714servant714Score: 63,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2026 05:5563,108546,555,923469,815,00053,978,0002,428,928
2Mar 24, 2026 05:5563,143553,660,801468,079,00056,009,0002,273,280
3Mar 24, 2026 06:1763,147548,339,003472,109,00052,012,0002,273,280
4Mar 24, 2026 05:5563,151550,388,447467,139,00057,017,0002,281,472
5Mar 24, 2026 06:1763,157550,358,800471,185,00053,020,0002,281,472
6Mar 24, 2026 06:1763,212552,435,030462,702,00061,960,0002,273,280
7Mar 24, 2026 06:1763,223550,655,515467,775,00056,972,0002,281,472
8Mar 24, 2026 06:1763,232547,633,806466,842,00057,980,0002,433,024
9Mar 24, 2026 06:1763,286551,773,513467,242,00058,030,0002,269,184
10Mar 24, 2026 05:5563,298553,989,820464,450,00060,927,0002,269,184
11Mar 24, 2026 05:5563,300549,089,164469,452,00055,934,0002,281,472
12Mar 24, 2026 05:5563,327548,571,248467,658,00057,957,0002,281,472
13Mar 24, 2026 06:1763,353547,365,308463,848,00061,979,0002,273,280
14Mar 24, 2026 05:5563,376548,464,866467,016,00059,002,0002,281,472
15Mar 24, 2026 06:1763,382549,510,988472,064,00054,007,0002,281,472
16Mar 24, 2026 05:5563,446554,680,461471,644,00054,958,0002,281,472
17Mar 24, 2026 06:1763,626557,947,618468,084,00060,010,0002,273,280
18Mar 24, 2026 05:5563,863555,895,839468,060,00062,007,0002,273,280