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 10:06Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 12:58wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 12:58059,650,68449,239,0002,151,0002,117,632expected "99999999774288383 ", got "86414768441344619 "
2Jul 8, 2026 12:58059,632,72149,359,0002,113,0002,117,632expected "99999999342314454 ", got "86414768509344619 "
3Jul 8, 2026 12:58059,601,61649,283,0002,127,0002,117,632expected "100000000032296150 ", got "86414769499344619 "
4Jun 30, 2026 10:076,21359,295,06649,350,0002,218,0002,117,632
5Jun 30, 2026 10:076,22459,477,20749,438,0002,224,0002,117,632
6Jun 30, 2026 10:076,24659,588,34449,799,0002,049,0002,117,632
7Jun 30, 2026 10:076,25760,001,48949,809,0002,127,0002,117,632
8Jun 30, 2026 10:076,26559,738,44949,794,0002,211,0002,117,632
9Jun 30, 2026 10:076,27959,849,89949,932,0002,184,0002,117,632
10Jun 30, 2026 10:076,28760,182,50649,985,0002,204,0002,117,632
11Jun 30, 2026 10:076,29161,977,27149,975,0002,244,0002,117,632
12Jun 30, 2026 10:076,36460,820,59450,622,0002,205,0002,117,632