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 listFeb 27, 2023 13:36Yuriy LyfenkoYuriy LyfenkoScore: 7,219Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 13:367,04081,153,10654,401,0004,029,0002,289,664
2Feb 27, 2023 13:367,05293,180,08756,516,0002,018,0002,400,256
3Feb 27, 2023 13:367,06381,483,45457,609,0001,010,0002,502,656
4Feb 27, 2023 13:367,10284,832,94954,954,0003,996,0002,441,216
5Feb 27, 2023 13:367,14384,346,58157,280,0002,009,0002,310,144
6Feb 27, 2023 13:367,17188,363,80456,492,0003,026,0002,408,448
7Feb 27, 2023 13:367,17289,273,52954,484,0005,044,0002,273,280
8Feb 27, 2023 13:367,21986,812,00556,919,0002,995,0002,428,928
9Feb 27, 2023 13:367,236123,166,84260,058,09902,211,840
10Feb 27, 2023 13:367,257125,763,60460,235,64402,265,088
11Feb 27, 2023 13:377,262129,361,51460,276,32402,195,456
12Feb 27, 2023 13:377,277121,358,18160,398,85002,306,048
13Feb 27, 2023 13:367,28992,402,65558,483,0002,016,0002,465,792
14Feb 27, 2023 13:377,297127,722,29060,561,47902,199,552
15Feb 27, 2023 13:367,327124,785,43860,816,17202,281,472