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 30, 2026 03:15Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Apr 21, 2026 18:23Yuriy Lyfenko10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 18:25056,242,72637,032,0002,001,0002,572,288expected "24978333784 ", got "24922969862 "
2Apr 21, 2026 18:25047,117,24435,968,0003,996,0002,433,024expected "24973550491 ", got "24918139202 "
3Apr 21, 2026 18:25055,049,03435,830,0003,981,0002,310,144expected "24979296802 ", got "24923969755 "
4Jan 30, 2026 03:087,40182,448,69960,421,0001,007,0002,334,720
5Jan 30, 2026 03:157,44992,411,98758,835,0002,991,0002,306,048
6Jan 30, 2026 03:087,45995,807,09759,916,0001,997,0002,445,312
7Jan 30, 2026 03:087,60097,758,82161,076,0002,002,0002,330,624
8Jan 30, 2026 03:157,64989,807,58462,481,0001,007,0002,322,432
9Jan 30, 2026 03:087,75792,917,06861,362,0003,017,0002,297,856
10Jan 30, 2026 03:157,77189,721,32663,496,0001,007,0002,334,720
11Jan 30, 2026 03:157,77691,124,46063,531,0001,008,0002,326,528
12Jan 30, 2026 03:157,78586,481,03562,594,0002,019,0002,338,816
13Jan 30, 2026 03:087,80894,873,78162,810,0001,993,0002,330,624
14Jan 30, 2026 03:087,81195,645,28561,840,0002,992,0002,318,336
15Jan 30, 2026 03:157,93390,946,87762,853,0002,993,0002,306,048