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 listDec 30, 2022 12:40Hal FHal FScore: 8,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 12:408,17093,408,26163,820,0003,988,0002,498,560
2Dec 30, 2022 12:408,17396,562,03565,838,0001,995,0002,273,280
3Dec 30, 2022 12:408,17591,716,07365,861,0001,995,0002,273,280
4Dec 30, 2022 12:408,18994,269,26065,970,0001,999,0002,490,368
5Dec 30, 2022 12:408,20396,002,06666,084,0002,002,0002,490,368
6Dec 30, 2022 12:408,25391,237,48965,481,0003,022,0002,498,560
7Dec 30, 2022 12:408,26597,970,33866,583,0002,017,0002,494,464
8Dec 30, 2022 12:408,28095,830,66461,751,0006,971,0002,494,464
9Dec 30, 2022 12:408,29295,967,23864,832,0003,989,0002,322,432
10Dec 30, 2022 12:408,383100,977,72565,546,0004,033,0002,490,368
11Dec 30, 2022 12:408,41296,232,03767,794,0002,023,0002,273,280
12Dec 30, 2022 12:408,44196,300,99266,057,0004,003,0002,273,280
13Dec 30, 2022 12:408,473128,059,93170,327,34702,228,224
14Dec 30, 2022 12:408,572135,232,83071,147,12902,228,224
15Dec 30, 2022 12:408,656141,544,75271,845,25302,220,032