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 listFeb 19, 2026 19:15Daniel MastalerzDaniel MastalerzError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:21Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 04:00065,164,68252,362,0002,254,0002,113,536expected "35965664940561699 ", got "164090452770809572 "
2Oct 16, 2026 04:00062,372,92749,545,0002,234,0002,113,536expected "107373862509681614 ", got "107371418073201613 "
3Feb 19, 2026 19:156,06471,018,36348,318,0002,013,0002,322,432
4Feb 19, 2026 19:156,07372,572,11446,377,0004,032,0002,306,048
5Feb 19, 2026 19:156,07374,635,85146,372,0004,032,0002,523,136
6Feb 19, 2026 19:156,08274,017,97946,444,0004,038,0002,265,088
7Feb 19, 2026 19:156,08378,367,39349,482,0001,009,0002,265,088
8Feb 19, 2026 19:156,08478,619,91348,475,0002,019,0002,367,488
9Feb 19, 2026 19:156,08577,295,82047,478,0003,030,0002,322,432
10Feb 19, 2026 19:156,10177,309,44046,588,0004,051,0002,523,136
11Feb 19, 2026 19:156,11576,768,42847,771,0002,985,0002,269,184
12Feb 19, 2026 19:156,18277,877,53248,295,0003,018,0002,265,088
13Oct 16, 2026 04:006,21162,156,62049,249,0002,310,0002,113,536
14Feb 19, 2026 19:156,21481,944,82848,541,0003,033,0002,289,664
15Feb 19, 2026 19:156,21780,184,54449,616,0001,984,0002,273,280