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 18, 2026 15:48Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:46Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:46042,551,04033,577,0001,082,0002,117,632expected "74600294196621100 ", got "22348441450622764 "
2Jul 6, 2026 23:46041,978,37433,092,0001,021,0002,117,632expected "74600294196621100 ", got "22348441450622764 "
3Jul 6, 2026 23:46042,021,36533,071,0001,049,0002,117,632expected "74600294196621100 ", got "22348441450622764 "
4Apr 18, 2026 15:484,27754,381,90734,483,0001,014,0002,478,080
5Apr 18, 2026 15:484,27856,391,81834,496,0001,014,0002,465,792
6Apr 18, 2026 15:474,27960,646,60934,502,0001,014,0002,473,984
7Apr 18, 2026 15:474,28059,624,52334,512,0001,015,0002,273,280
8Apr 18, 2026 15:474,28059,511,67434,509,0001,014,0002,473,984
9Apr 18, 2026 15:484,28154,452,73534,519,0001,015,0002,535,424
10Apr 18, 2026 15:484,28255,889,23234,528,0001,015,0002,469,888
11Apr 18, 2026 15:474,28254,283,01534,523,0001,015,0002,473,984
12Apr 18, 2026 15:484,28262,152,80934,524,0001,015,0002,473,984
13Apr 18, 2026 15:474,28360,596,04234,535,0001,015,0002,535,424
14Apr 18, 2026 15:484,28460,824,02834,543,0001,015,0002,535,424
15Apr 18, 2026 15:484,29767,381,65334,643,0001,018,0002,457,600
16Apr 18, 2026 15:484,29959,603,01634,663,0001,019,0002,310,144
17Apr 18, 2026 15:484,29960,372,77634,662,0001,019,0002,469,888
18Apr 18, 2026 15:474,31561,146,13334,817,000994,0002,273,280
19Apr 18, 2026 15:484,31659,031,67634,831,000995,0002,535,424
20Apr 18, 2026 15:484,31761,960,79333,843,0001,990,0002,473,984
21Apr 18, 2026 15:474,31860,513,06033,849,0001,991,0002,473,984
22Apr 18, 2026 15:474,31962,075,17233,857,0001,991,0002,473,984
23Apr 18, 2026 15:484,32065,769,18433,863,0001,991,0002,535,424
24Apr 18, 2026 15:484,32062,643,57733,863,0001,991,0002,469,888
25Apr 18, 2026 15:484,32153,805,53534,837,0001,024,0002,465,792
26Apr 18, 2026 15:474,32558,980,74333,902,0001,994,0002,535,424
27Apr 18, 2026 15:484,51764,904,76137,487,00002,478,080