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 listOct 22, 2026 16:03timothygktimothygkError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 22, 2026 16:030165,932,972103,028,00051,427,0002,121,728expected "53689593806305536 ", got "53689773825558663 "stderr
2Oct 22, 2026 16:0318,125161,406,752101,920,00048,523,0002,121,728stderr
3Oct 22, 2026 16:0318,141161,620,200101,815,00048,760,0002,117,632stderr
4Oct 22, 2026 16:0318,158161,635,459102,164,00048,549,0002,117,632stderr
5Oct 22, 2026 16:0318,287163,270,938102,829,00048,956,0002,117,632stderr
6Oct 22, 2026 16:0318,502165,011,240102,476,00051,093,0002,117,632stderr
7Oct 22, 2026 16:0318,523165,188,228102,533,00051,210,0002,117,632stderr
8Oct 22, 2026 16:0318,538165,296,038102,559,00051,311,0002,117,632stderr
9Oct 22, 2026 16:0318,572165,600,365102,898,00051,255,0002,117,632stderr