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 listMay 21, 2021 19:08Dmitry DolgopolovDmitry DolgopolovScore: 27,923Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 19:1127,884255,756,015228,436,0003,005,0002,506,752
2May 21, 2021 19:1127,885259,261,175229,439,0002,003,0002,289,664
3May 21, 2021 19:0827,885259,316,998228,440,0003,005,0002,420,736
4May 21, 2021 19:0927,887257,218,732228,457,0003,006,0002,289,664
5May 21, 2021 19:0827,889251,011,559228,473,0003,006,0002,281,472
6May 21, 2021 19:0927,898264,610,763229,549,0002,004,0002,510,848
7May 21, 2021 19:0927,898261,617,186229,548,0002,004,0002,289,664
8May 21, 2021 19:1127,898256,874,181229,552,0002,004,0002,289,664
9May 21, 2021 19:1127,898253,860,116228,562,0002,994,0002,289,664
10May 21, 2021 19:0827,899261,019,055229,561,0002,004,0002,289,664
11May 21, 2021 19:0927,899266,894,626229,558,0002,004,0002,289,664
12May 21, 2021 19:0927,899263,247,811230,563,0001,002,0002,510,848
13May 21, 2021 19:1127,899253,643,933229,556,0002,004,0002,506,752
14May 21, 2021 19:0927,900258,654,445230,567,0001,002,0002,289,664
15May 21, 2021 19:0827,904256,555,926229,601,0002,005,0002,506,752
16May 21, 2021 19:1127,920258,762,673229,743,0001,997,0002,510,848
17May 21, 2021 19:1127,922257,803,987228,757,0002,996,0002,506,752
18May 21, 2021 19:1127,922257,718,112230,754,000998,0002,289,664
19May 21, 2021 19:0927,923262,159,299228,763,0002,996,0002,412,544
20May 21, 2021 19:0927,924258,859,474229,773,0001,998,0002,510,848
21May 21, 2021 19:0927,925256,569,048229,777,0001,998,0002,289,664
22May 21, 2021 19:1127,925260,102,774228,765,0003,010,0003,031,040
23May 21, 2021 19:0827,926259,167,320229,789,0001,998,0002,289,664
24May 21, 2021 19:0827,931254,336,703228,829,0002,997,0002,289,664
25May 21, 2021 19:0827,935257,574,971228,864,0002,998,0002,289,664
26May 21, 2021 19:0827,974251,610,283229,184,0003,002,0002,289,664
27May 21, 2021 19:0827,974266,171,109230,181,0002,001,0002,289,664
28May 21, 2021 19:0827,976297,667,213232,203,54602,293,760
29May 21, 2021 19:1127,992286,051,369232,331,41802,285,568
30May 21, 2021 19:0927,995289,082,608232,355,15402,170,880
31May 21, 2021 19:0827,995289,830,084232,358,54002,281,472
32May 21, 2021 19:1127,996292,522,795232,364,34102,256,896
33May 21, 2021 19:1127,997303,152,190232,373,69102,289,664
34May 21, 2021 19:0927,997296,160,878232,378,74502,285,568
35May 21, 2021 19:0927,998302,580,432232,380,13702,289,664
36May 21, 2021 19:0828,002291,552,434232,419,41402,289,664