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 listJun 30, 2026 09:39Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 13:00wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 13:00059,374,15038,113,00013,158,0002,117,632expected "99999999541550024 ", got "86414768508344619 "
2Jul 8, 2026 13:00058,717,14738,234,00012,331,0002,117,632expected "99999997999378269 ", got "86414767465444619 "
3Jul 8, 2026 13:00059,273,18338,168,00013,021,0002,117,632expected "99999999892091961 ", got "86414768459344619 "
4Jun 30, 2026 09:397,14567,245,60846,647,00012,658,0002,117,632
5Jun 30, 2026 09:397,17067,299,66246,279,00013,234,0002,117,632
6Jun 30, 2026 09:397,18367,413,82847,267,00012,356,0002,117,632
7Jun 30, 2026 09:397,19167,565,85246,418,00013,273,0002,117,632
8Jun 30, 2026 09:397,19967,585,62646,216,00013,540,0002,117,632
9Jun 30, 2026 09:397,22567,768,88147,114,00012,861,0002,117,632
10Jun 30, 2026 09:397,29368,527,94346,664,00013,872,0002,117,632
11Jun 30, 2026 09:397,40570,801,84147,135,00014,334,0002,117,632
12Jun 30, 2026 09:397,47770,005,20949,028,00013,033,0002,117,632