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, 2024 14:33Matt StuchlikMatt StuchlikScore: 10,819Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:349,872147,091,87681,934,83802,228,224
2Apr 18, 2024 16:0910,142149,994,72684,182,02502,215,936
3Apr 18, 2024 16:0910,177157,503,09384,467,53702,236,416
4Apr 18, 2024 14:3410,180146,111,28984,494,02202,228,224
5Apr 18, 2024 14:3310,192139,636,71784,595,01302,236,416
6Apr 18, 2024 14:3310,193146,741,29484,603,81602,224,128
7Apr 18, 2024 14:3310,197147,688,56684,631,66802,228,224
8Apr 18, 2024 14:3410,202150,511,32784,673,37402,236,416
9Apr 18, 2024 16:0910,203152,791,96784,686,46002,228,224
10Apr 18, 2024 14:3310,416112,555,46384,440,0002,010,0002,285,568
11Apr 18, 2024 14:3410,717111,663,08485,953,0002,998,0002,482,176
12Apr 18, 2024 14:3310,720113,164,76686,973,0001,999,0002,494,464
13Apr 18, 2024 16:0910,755116,223,52886,260,0003,009,0002,285,568
14Apr 18, 2024 14:3310,759113,663,24385,290,0004,013,0002,494,464
15Apr 18, 2024 16:0910,769112,219,03886,370,0003,012,0002,277,376
16Apr 18, 2024 16:0910,792115,480,26087,558,0002,012,0002,478,080
17Apr 18, 2024 14:3410,799118,110,61386,611,0003,021,0002,285,568
18Apr 18, 2024 16:0910,819121,404,37386,806,0002,993,0002,285,568
19Apr 18, 2024 14:3410,819114,658,38985,806,0003,991,0002,486,272
20Apr 18, 2024 16:0910,822114,867,14186,829,0002,994,0002,482,176
21Apr 18, 2024 14:3310,829115,088,46786,886,0002,996,0002,482,176
22Apr 18, 2024 14:3410,838114,282,61286,959,0002,998,0002,486,272
23Apr 18, 2024 14:3410,842117,093,59486,989,0002,999,0002,490,368
24Apr 18, 2024 14:3410,848117,736,08287,037,0003,001,0002,285,568
25Apr 18, 2024 16:0910,864113,425,13386,166,0004,007,0002,486,272
26Apr 18, 2024 14:3410,866115,884,00987,184,0003,006,0002,285,568
27Apr 18, 2024 14:3310,868115,765,75388,197,0002,004,0002,482,176
28Apr 18, 2024 14:3410,870114,654,29787,215,0003,007,0002,285,568
29Apr 18, 2024 14:3310,875115,329,57086,254,0004,011,0002,285,568
30Apr 18, 2024 14:3310,882116,472,85388,316,0002,007,0002,285,568
31Apr 18, 2024 16:0910,903120,972,04086,473,0004,022,0002,482,176
32Apr 18, 2024 16:0910,915115,489,17288,584,0002,013,0002,285,568
33Apr 18, 2024 16:0910,918122,171,33188,609,0002,013,0002,285,568
34Apr 18, 2024 14:3410,925125,560,59687,652,0003,022,0002,277,376
35Apr 18, 2024 14:3310,934117,419,00787,760,0002,991,0002,285,568
36Apr 18, 2024 14:3310,969114,513,38588,039,0003,001,0002,527,232