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 listApr 19, 2026 04:39Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 02:42Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 02:42045,540,34936,260,0001,148,0002,117,632expected "74600294196621100 ", got "15382838469373740 "
2Jul 7, 2026 02:42044,716,02035,817,0001,023,0002,117,632expected "74600294196621100 ", got "15382831187363277 "
3Jul 7, 2026 02:42045,178,51336,282,0001,025,0002,117,632expected "74600294196621100 ", got "17101192389373740 "
4Apr 19, 2026 04:394,58862,068,54136,078,0002,004,0002,473,984
5Apr 19, 2026 04:374,59164,972,16736,099,0002,005,0002,531,328
6Apr 19, 2026 04:374,60360,201,80536,193,0002,010,0002,478,080
7Apr 19, 2026 04:374,61261,202,42636,269,0002,014,0002,269,184
8Apr 19, 2026 04:394,61867,790,33836,309,0002,017,0002,531,328
9Apr 19, 2026 04:394,76767,021,90538,549,0001,014,0002,535,424