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:36Yuriy LyfenkoYuriy LyfenkoScore: 9,857Success
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 15:379,507103,071,50875,912,0002,996,0002,342,912
2Jul 30, 2022 15:369,566106,161,49676,385,0003,015,0002,301,952
3Jul 30, 2022 15:379,623102,499,37376,880,0002,995,0002,445,312
4Jul 30, 2022 15:369,632101,967,26076,950,0002,998,0002,322,432
5Jul 30, 2022 15:379,638103,328,60375,993,0003,999,0002,445,312
6Jul 30, 2022 15:369,650101,392,63576,091,0004,004,0002,383,872
7Jul 30, 2022 15:369,656101,993,41275,135,0005,009,0002,428,928
8Jul 30, 2022 15:379,656104,436,69875,134,0005,008,0002,293,760
9Jul 30, 2022 15:369,737106,733,00876,823,0003,990,0002,379,776
10Jul 30, 2022 15:379,760102,386,00277,010,0004,000,0002,498,560
11Jul 30, 2022 15:379,771108,633,58078,100,0003,003,0002,469,888
12Jul 30, 2022 15:369,795103,387,80478,288,0003,011,0002,461,696
13Jul 30, 2022 15:369,857109,689,43079,822,0001,995,0002,392,064
14Jul 30, 2022 15:379,932104,425,25681,430,0001,005,0002,449,408
15Jul 30, 2022 15:3610,029162,007,13583,244,25302,248,704
16Jul 30, 2022 15:3710,035152,561,12783,294,31602,277,376
17Jul 30, 2022 15:3710,058145,009,33283,485,42802,269,184
18Jul 30, 2022 15:3710,062107,933,88180,499,0003,018,0002,437,120
19Jul 30, 2022 15:3710,067108,220,02781,539,0002,013,0002,322,432
20Jul 30, 2022 15:3710,147147,401,25584,215,98902,293,760
21Jul 30, 2022 15:3610,192111,629,74882,582,0002,014,0002,420,736
22Jul 30, 2022 15:3610,215146,796,71784,784,71002,203,648
23Jul 30, 2022 15:3610,543110,196,61784,492,0003,017,0002,424,832
24Jul 30, 2022 15:3610,723157,469,01489,000,44702,203,648