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 14, 2024 22:25zielajzielajError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 22:1200000Error: Killed by timeoutstderr
2Nov 14, 2024 22:254,04258,018,93533,547,00002,355,200
3Nov 14, 2024 22:174,04558,023,39033,570,00002,273,280
4Nov 14, 2024 22:174,04665,217,63433,584,00002,273,280
5Nov 14, 2024 22:174,05264,831,83932,614,0001,019,0002,273,280
6Nov 14, 2024 22:174,05258,549,31733,632,00002,363,392
7Nov 14, 2024 22:174,05458,352,93832,627,0001,019,0002,441,216
8Nov 14, 2024 22:254,05657,249,15233,667,00002,363,392
9Nov 14, 2024 22:134,06068,038,66332,674,0001,021,0002,535,424
10Nov 14, 2024 22:134,07461,702,61433,818,00002,359,296
11Nov 14, 2024 22:134,07460,530,77632,818,000994,0002,363,392
12Nov 14, 2024 22:134,07559,987,02831,835,0001,989,0002,359,296
13Nov 14, 2024 22:134,07661,841,30932,838,000995,0002,363,392
14Nov 14, 2024 22:134,07760,935,67933,843,00002,273,280
15Nov 14, 2024 22:174,07766,809,35331,847,0001,990,0002,351,104
16Nov 14, 2024 22:134,07858,592,53231,860,0001,991,0002,437,120
17Nov 14, 2024 22:174,07859,199,49732,853,000995,0002,367,488
18Nov 14, 2024 22:174,07860,829,29732,849,000995,0002,273,280
19Nov 14, 2024 22:174,07864,000,54133,848,00002,273,280
20Nov 14, 2024 22:134,07861,679,68631,854,0001,990,0002,359,296
21Nov 14, 2024 22:254,07968,031,55732,859,000995,0002,273,280
22Nov 14, 2024 22:134,08059,954,59932,865,000995,0002,367,488
23Nov 14, 2024 22:134,08555,595,98932,908,000997,0002,277,376
24Nov 14, 2024 22:174,09255,508,94931,968,0001,998,0002,359,296
25Nov 14, 2024 22:134,09560,802,11432,987,000999,0002,277,376
26Nov 14, 2024 22:254,10154,776,36433,039,0001,001,0002,363,392
27Nov 14, 2024 22:174,10355,600,39332,052,0002,003,0002,359,296
28Nov 14, 2024 22:254,10556,217,15533,072,0001,002,0002,363,392
29Nov 14, 2024 22:174,10758,759,26333,088,0001,002,0002,277,376
30Nov 14, 2024 22:254,11356,870,20833,138,0001,004,0002,351,104
31Nov 14, 2024 22:134,11757,963,15533,169,0001,005,0002,277,376