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 listSep 6, 2022 17:24Bernard TeoBernard TeoScore: 8,933Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2022 17:268,77897,625,58670,861,0001,996,0002,392,064
2Sep 6, 2022 17:248,89199,138,25372,788,0001,010,0002,408,448
3Sep 6, 2022 17:248,893105,105,52472,812,000997,0002,273,280
4Sep 6, 2022 17:268,89498,763,69171,822,0001,995,0002,400,256
5Sep 6, 2022 17:268,901101,726,51272,869,0001,012,0002,396,160
6Sep 6, 2022 17:248,908102,861,42671,937,0001,998,0002,273,280
7Sep 6, 2022 17:248,910101,941,28971,957,0001,998,0002,273,280
8Sep 6, 2022 17:248,91196,173,18671,966,0001,999,0002,396,160
9Sep 6, 2022 17:268,911102,597,12371,961,0001,998,0002,273,280
10Sep 6, 2022 17:268,91797,914,83372,013,0002,000,0002,400,256
11Sep 6, 2022 17:248,91996,328,20573,031,0001,000,0002,396,160
12Sep 6, 2022 17:248,92199,791,70072,046,0002,001,0002,273,280
13Sep 6, 2022 17:268,92297,892,40873,055,0001,000,0002,408,448
14Sep 6, 2022 17:248,92398,833,70472,056,0002,001,0002,273,280
15Sep 6, 2022 17:268,92599,357,21772,077,0002,002,0002,273,280
16Sep 6, 2022 17:268,933100,008,15572,144,0002,004,0002,387,968
17Sep 6, 2022 17:268,93495,792,70072,145,0002,004,0002,400,256
18Sep 6, 2022 17:248,944103,596,85473,230,0001,003,0002,478,080
19Sep 6, 2022 17:269,105137,203,50175,575,37202,273,280
20Sep 6, 2022 17:269,214142,773,65476,474,07702,273,280
21Sep 6, 2022 17:249,243136,930,92676,719,56102,256,896
22Sep 6, 2022 17:249,247141,744,73776,749,21202,277,376
23Sep 6, 2022 17:269,261140,414,09776,865,61502,281,472
24Sep 6, 2022 17:249,265136,554,96976,903,55902,277,376
25Sep 6, 2022 17:2610,311114,499,11784,575,0001,006,0002,396,160
26Sep 6, 2022 17:2410,333112,805,59785,766,00002,273,280
27Sep 6, 2022 17:2610,338111,949,78683,808,0001,995,0002,269,184
28Sep 6, 2022 17:2410,339112,404,83183,817,0001,995,0002,269,184
29Sep 6, 2022 17:2610,342114,663,36484,843,000998,0002,265,088
30Sep 6, 2022 17:2410,351108,892,59583,919,0001,998,0002,273,280