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 listNov 4, 2025 04:10Tejas G.Tejas G.Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:47Andrew Epstein46.57CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:560105,734,35191,191,0003,927,00020,480expected "10919633570918350 ", got "631382436822311864 "
2Oct 15, 2026 22:560131,938,182111,419,0009,914,00020,480expected "35307616488965947 ", got "618412321789991946 "
3Oct 15, 2026 22:560106,541,21891,741,0004,139,00020,480expected "10924955055850246 ", got "630809483455636322 "
4Nov 4, 2025 04:1015,575149,382,746128,274,0001,002,0002,281,472
5Nov 4, 2025 04:1015,588155,060,798128,382,0001,002,0002,285,568
6Nov 4, 2025 04:1015,605157,032,908128,521,0001,004,0002,523,136
7Nov 4, 2025 04:1015,644160,190,503127,845,0001,997,0002,285,568
8Nov 4, 2025 04:1015,655159,362,945127,940,0001,999,0002,285,568
9Nov 4, 2025 04:1015,663152,928,483129,004,0001,000,0002,265,088
10Nov 4, 2025 04:1015,669155,323,357128,052,0002,000,0002,285,568
11Nov 4, 2025 04:1015,673158,170,978128,082,0002,001,0002,285,568
12Nov 4, 2025 04:1015,692153,283,809128,239,0002,003,0002,519,040