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 17:12Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:46Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:55030,038,271,01929,995,399,00032,048,00020,480Killed by timeout
2Oct 15, 2026 22:55037,185,51325,661,0001,026,0002,117,632expected "10495027008765255 ", got "10495026897951235 "
3Oct 15, 2026 22:55035,950,00924,446,0001,013,00024,576expected "8116850171211609 ", got "8116850096474685 "
4Jan 2, 2026 17:135,40673,269,21942,879,0001,994,0002,289,664
5Jan 2, 2026 17:135,42674,755,32744,037,0001,000,0002,359,296
6Jan 2, 2026 17:135,51973,989,34043,816,0001,991,0002,293,760
7Jan 2, 2026 17:125,67672,805,25145,109,0002,004,0002,281,472
8Jan 2, 2026 17:135,75977,673,61744,815,0002,987,0002,293,760
9Jan 2, 2026 17:135,76175,569,95446,824,000996,0002,293,760
10Jan 2, 2026 17:135,80875,292,61447,200,0001,004,0002,293,760
11Jan 2, 2026 17:135,81075,730,34846,211,0002,009,0002,293,760
12Jan 2, 2026 17:135,81572,418,78547,258,0001,005,0002,375,680
13Jan 2, 2026 17:125,82468,463,22748,340,00002,281,472
14Jan 2, 2026 17:125,83471,588,97347,417,0001,008,0002,281,472
15Jan 2, 2026 17:135,88079,187,99047,808,000996,0002,293,760
16Jan 2, 2026 17:135,89075,882,19846,889,0001,995,0002,273,280
17Jan 2, 2026 17:135,89573,570,87146,930,0001,997,0002,506,752
18Jan 2, 2026 17:135,89777,662,99247,949,000998,0002,359,296
19Jan 2, 2026 17:125,94581,358,28649,346,00002,367,488
20Jan 2, 2026 17:125,97672,067,86349,599,00002,293,760
21Jan 2, 2026 17:128,74398,278,75971,558,0001,007,0002,293,760