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 listJan 17, 2022 00:25Yuriy LyfenkoYuriy LyfenkoScore: 29,244Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2022 00:2529,219298,841,109242,516,36602,215,936
2Jan 17, 2022 00:2329,221266,157,474240,534,0002,004,0002,527,232
3Jan 17, 2022 00:2329,221310,355,859242,532,13202,215,936
4Jan 17, 2022 00:2329,223309,009,255242,548,53902,207,744
5Jan 17, 2022 00:2529,223309,228,697242,549,94302,211,840
6Jan 17, 2022 00:2329,224273,054,458241,556,0001,002,0002,322,432
7Jan 17, 2022 00:2529,224270,953,661241,560,0001,002,0002,326,528
8Jan 17, 2022 00:2329,225271,853,367241,564,0001,002,0002,326,528
9Jan 17, 2022 00:2329,228268,766,282241,594,0001,002,0002,326,528
10Jan 17, 2022 00:2529,228273,187,727241,589,0001,002,0002,326,528
11Jan 17, 2022 00:2529,232304,114,828242,622,08402,220,032
12Jan 17, 2022 00:2329,241314,653,966242,698,40702,220,032
13Jan 17, 2022 00:2529,244269,689,083239,731,0002,996,0002,514,944
14Jan 17, 2022 00:2329,246270,445,179241,747,000998,0002,326,528
15Jan 17, 2022 00:2529,248273,349,854241,761,000999,0002,527,232
16Jan 17, 2022 00:2529,249276,022,242239,772,0002,997,0002,326,528
17Jan 17, 2022 00:2329,249271,818,189240,768,0001,998,0002,326,528
18Jan 17, 2022 00:2529,251272,717,242239,787,0002,997,0002,326,528
19Jan 17, 2022 00:2529,253274,694,698239,802,0002,997,0002,326,528
20Jan 17, 2022 00:2329,256271,171,895240,827,0001,998,0002,326,528
21Jan 17, 2022 00:2329,262268,934,288239,873,0002,998,0002,527,232
22Jan 17, 2022 00:2529,263267,446,532239,872,0003,010,0002,326,528
23Jan 17, 2022 00:2329,263268,179,556240,885,0001,999,0002,523,136
24Jan 17, 2022 00:2529,264268,220,681239,891,0002,998,0002,527,232