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 23:15Hal FHal FScore: 8,089Success
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 23:157,99394,326,89164,336,0002,010,0002,285,568
2Dec 30, 2022 23:158,02392,672,02063,564,0003,026,0002,285,568
3Dec 30, 2022 23:158,04894,578,55664,808,0001,994,0002,506,752
4Dec 30, 2022 23:158,04997,574,92763,819,0002,991,0002,285,568
5Dec 30, 2022 23:158,05990,604,32962,897,0003,993,0002,342,912
6Dec 30, 2022 23:158,06291,464,69562,922,0003,995,0002,285,568
7Dec 30, 2022 23:158,06991,615,99762,975,0003,998,0002,498,560
8Dec 30, 2022 23:158,08990,451,41364,130,0003,006,0002,494,464
9Dec 30, 2022 23:158,11993,154,47765,375,0002,011,0002,478,080
10Dec 30, 2022 23:158,18490,999,99764,931,0002,996,0002,326,528
11Dec 30, 2022 23:158,20593,912,11966,096,0002,002,0002,478,080
12Dec 30, 2022 23:158,33791,186,73466,193,0003,008,0002,453,504
13Dec 30, 2022 23:158,424124,600,00269,920,05002,236,416
14Dec 30, 2022 23:158,430135,809,32269,967,44502,220,032
15Dec 30, 2022 23:158,514119,977,33170,663,57802,240,512