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 14, 2022 16:47Bernard TeoBernard TeoScore: 6,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2022 16:476,41476,674,06851,225,0002,008,0002,273,280
2Sep 14, 2022 16:476,41678,254,73152,247,0001,004,0002,400,256
3Sep 14, 2022 16:476,42074,582,60652,285,0001,005,0002,396,160
4Sep 14, 2022 16:476,42282,030,24352,301,0001,005,0002,273,280
5Sep 14, 2022 16:476,42275,553,94952,297,0001,005,0002,396,160
6Sep 14, 2022 16:476,42378,137,48352,308,0001,005,0002,273,280
7Sep 14, 2022 16:476,42379,201,65552,310,0001,005,0002,396,160
8Sep 14, 2022 16:476,42377,022,88053,308,00002,400,256
9Sep 14, 2022 16:476,42581,150,65852,319,0001,006,0002,396,160
10Sep 14, 2022 16:476,42680,175,19852,331,0001,006,0002,273,280
11Sep 14, 2022 16:476,42680,231,59353,337,00002,404,352
12Sep 14, 2022 16:476,42672,476,51153,339,00002,404,352
13Sep 14, 2022 16:476,42780,391,83252,340,0001,006,0002,273,280
14Sep 14, 2022 16:476,42776,339,79252,337,0001,006,0002,273,280
15Sep 14, 2022 16:476,42874,329,26852,344,0001,006,0002,392,064
16Sep 14, 2022 16:476,42880,493,94753,349,00002,404,352
17Sep 14, 2022 16:476,42975,628,24552,351,0001,006,0002,273,280
18Sep 14, 2022 16:476,43074,325,33552,359,0001,006,0002,404,352
19Sep 14, 2022 16:476,43079,629,57853,370,00002,273,280
20Sep 14, 2022 16:476,43079,853,46052,364,0001,007,0002,400,256
21Sep 14, 2022 16:476,43071,625,64852,365,0001,007,0002,273,280
22Sep 14, 2022 16:476,43472,272,90953,399,00002,404,352
23Sep 14, 2022 16:476,43475,915,64953,404,00002,392,064
24Sep 14, 2022 16:476,43776,439,46252,418,0001,008,0002,273,280
25Sep 14, 2022 16:476,612125,909,11354,880,95102,285,568
26Sep 14, 2022 16:476,619116,571,89254,939,80202,269,184
27Sep 14, 2022 16:476,619121,221,48354,941,70502,277,376
28Sep 14, 2022 16:476,620117,221,61654,944,08102,277,376
29Sep 14, 2022 16:476,621124,755,11254,955,39102,285,568
30Sep 14, 2022 16:476,624130,752,99354,977,73302,277,376