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:49Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:47Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:47049,828,79533,702,0001,116,0002,117,632expected "74600294196621100 ", got "17101192389373740 "
2Jul 6, 2026 23:47050,546,98533,976,0001,163,0002,117,632expected "74600294196621100 ", got "15382837741203244 "
3Jul 6, 2026 23:47041,947,92033,015,0001,023,0002,117,632expected "74600294196621100 ", got "17101192389373740 "
4Apr 13, 2026 20:364,28156,522,15034,515,0001,015,0002,478,080
5Apr 13, 2026 20:364,28359,916,07934,532,0001,015,0002,535,424
6Apr 13, 2026 20:364,28757,226,97234,564,0001,016,0002,314,240
7Apr 13, 2026 20:364,28861,181,43534,576,0001,016,0002,469,888
8Apr 13, 2026 20:364,28966,250,76534,579,0001,017,0002,473,984
9Apr 19, 2026 04:504,29056,824,82534,594,0001,017,0002,469,888
10Apr 13, 2026 20:364,29064,117,55734,594,0001,017,0002,535,424
11Apr 13, 2026 20:364,29460,974,24134,619,0001,018,0002,314,240
12Apr 13, 2026 20:364,29561,366,91834,631,0001,018,0002,535,424
13Apr 13, 2026 20:364,29966,424,88834,665,0001,019,0002,478,080
14Apr 13, 2026 20:364,31357,920,52833,811,0001,988,0002,273,280
15Apr 13, 2026 20:364,31760,542,49733,841,0001,990,0002,535,424
16Apr 19, 2026 04:494,31761,272,58434,833,000995,0002,535,424
17Apr 19, 2026 04:504,31761,873,97034,832,000995,0002,465,792
18Apr 19, 2026 04:494,31857,726,49034,817,0001,024,0002,531,328
19Apr 19, 2026 04:504,32256,085,32433,882,0001,993,0002,301,952
20Apr 19, 2026 04:494,33057,965,29333,942,0001,996,0002,535,424
21Apr 13, 2026 20:364,34858,998,75335,083,0001,002,0002,535,424