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 16, 2026 20:06e1011e1011Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 29, 2026 22:13Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 22:210617,635,584605,315,0001,277,0002,113,536expected "10922209954334678 ", got "2084621229717012 "
2Oct 16, 2026 20:0736,791315,988,818304,211,0001,161,0002,113,536
3Oct 16, 2026 20:0736,794316,053,014304,389,0001,005,0002,113,536
4Oct 16, 2026 20:0736,796320,573,957304,134,0001,274,0002,113,536
5Oct 16, 2026 20:0736,799316,916,350304,432,0001,006,0002,113,536
6Oct 16, 2026 20:0736,801316,946,837304,205,0001,249,0002,113,536
7Oct 16, 2026 20:0736,801316,778,432304,452,0001,004,0002,113,536
8Oct 16, 2026 20:0736,802316,218,420304,195,0001,266,0002,113,536
9Oct 16, 2026 20:0736,806316,206,236304,485,0001,007,0002,113,536
10Oct 16, 2026 20:0736,813316,316,295304,553,0001,003,0002,113,536
11Oct 29, 2026 22:2167,280569,452,886557,236,0001,191,0002,113,536
12Oct 29, 2026 22:2167,345569,991,544557,963,0001,004,0002,113,536