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 16, 2021 18:36Yuriy LyfenkoYuriy LyfenkoScore: 17,924Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:3617,7741,676,810,702147,521,00002,519,040
2May 16, 2021 18:3617,7743,065,387,525146,526,000996,0002,527,232
3May 16, 2021 18:3617,7753,061,516,652146,530,0001,003,0002,256,896
4May 16, 2021 18:3617,7801,795,561,298145,566,0002,007,0002,265,088
5May 16, 2021 18:3617,7831,253,730,801145,605,0001,994,0002,527,232
6May 16, 2021 18:3617,800904,648,516143,746,0003,992,0002,400,256
7May 16, 2021 18:3617,9211,762,474,628147,742,0001,005,0002,523,136
8May 16, 2021 18:3617,9221,212,528,756147,749,0001,005,0002,260,992
9May 16, 2021 18:3617,924937,344,342146,770,0001,996,0002,519,040
10May 16, 2021 18:3617,9241,298,073,740148,770,00002,265,088
11May 16, 2021 18:3617,9291,619,095,045146,830,0001,984,0002,387,968
12May 16, 2021 18:3617,9302,715,050,573145,824,0002,996,0002,383,872
13May 16, 2021 18:3617,930490,109,006148,818,00002,523,136
14May 16, 2021 18:3617,9372,791,480,179146,878,0001,998,0002,519,040
15May 16, 2021 18:3617,9422,512,620,553147,929,000992,0002,519,040
16May 16, 2021 18:3617,9432,124,314,739146,928,0001,999,0002,387,968
17May 16, 2021 18:3617,9492,365,279,931147,974,000999,0002,260,992
18May 16, 2021 18:3617,9602,380,373,011147,083,0001,987,0002,265,088