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 listJul 30, 2022 15:59Yuriy LyfenkoYuriy LyfenkoScore: 8,025Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2022 16:007,774132,201,10864,528,08402,191,360
2Jul 30, 2022 16:007,825125,541,56564,947,05002,203,648
3Jul 30, 2022 16:007,845121,937,59265,116,87402,224,128
4Jul 30, 2022 15:597,876117,202,74765,367,80702,306,048
5Jul 30, 2022 15:597,879130,885,59565,398,69102,199,552
6Jul 30, 2022 15:597,897128,166,31265,546,73702,207,744
7Jul 30, 2022 15:598,01296,134,84261,464,0005,038,0002,301,952
8Jul 30, 2022 15:598,02596,298,98763,584,0003,027,0002,445,312
9Jul 30, 2022 15:598,03193,740,05762,615,0004,039,0002,367,488
10Jul 30, 2022 15:598,04988,029,29366,808,00002,404,352
11Jul 30, 2022 15:598,05193,054,80664,831,0001,994,0002,289,664
12Jul 30, 2022 15:598,05393,658,61163,800,0003,038,0002,428,928
13Jul 30, 2022 15:598,06297,851,48164,919,0001,997,0002,404,352
14Jul 30, 2022 15:598,13394,524,58062,465,0005,037,0002,367,488
15Jul 30, 2022 15:598,19690,614,43967,029,0001,000,0002,269,184