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 14, 2021 15:18Yuriy LyfenkoYuriy LyfenkoScore: 13,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2021 15:1812,863418,418,751106,760,69402,236,416
2Jul 14, 2021 15:1812,869412,524,678106,813,41002,236,416
3Jul 14, 2021 15:1812,893416,432,368107,008,06502,240,512
4Jul 14, 2021 15:1813,044386,633,930107,262,0001,002,0002,510,848
5Jul 14, 2021 15:1813,046381,109,178107,282,0001,002,0002,265,088
6Jul 14, 2021 15:1813,057384,718,920107,372,0001,003,0002,260,992
7Jul 14, 2021 15:1813,060379,561,842107,391,0001,003,0002,523,136
8Jul 14, 2021 15:1813,061386,788,003108,404,00002,523,136
9Jul 14, 2021 15:1813,066386,593,847107,442,0001,004,0002,260,992
10Jul 14, 2021 15:1813,068383,469,613107,462,0001,004,0002,523,136
11Jul 14, 2021 15:1813,073384,560,153106,517,0001,990,0002,260,992
12Jul 14, 2021 15:1813,074392,987,698107,509,0001,004,0002,396,160
13Jul 14, 2021 15:2113,278415,284,248110,210,65502,244,608
14Jul 14, 2021 15:2113,305427,212,564110,429,91302,240,512
15Jul 14, 2021 15:2113,318424,867,295110,535,71902,260,992