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 1, 2021 00:04Yuriy LyfenkoYuriy LyfenkoScore: 13,111Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2021 00:0413,092387,882,376106,674,0001,993,0002,523,136
2Jul 1, 2021 00:0413,093390,226,814106,675,0001,993,0002,387,968
3Jul 1, 2021 00:0413,096388,010,697107,702,000997,0002,260,992
4Jul 1, 2021 00:0413,097391,362,031107,709,000997,0002,387,968
5Jul 1, 2021 00:0413,097383,609,629106,714,0001,994,0002,523,136
6Jul 1, 2021 00:0413,105386,881,275106,775,0001,995,0002,260,992
7Jul 1, 2021 00:0413,106384,940,841106,787,0001,996,0002,387,968
8Jul 1, 2021 00:0413,111384,568,763106,829,0001,996,0002,260,992
9Jul 1, 2021 00:0413,127387,567,702107,954,000999,0002,523,136
10Jul 1, 2021 00:0413,189428,568,067109,471,61002,232,320
11Jul 1, 2021 00:0413,467426,248,198111,772,34402,240,512
12Jul 1, 2021 00:0413,527430,426,610112,275,16002,260,992
13Jul 1, 2021 00:0413,532423,064,862112,312,56202,260,992
14Jul 1, 2021 00:0413,535416,869,804112,341,92002,248,704
15Jul 1, 2021 00:0413,545431,036,591112,423,57602,252,800