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 14, 2021 19:36Yuriy LyfenkoYuriy LyfenkoScore: 18,120Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 19:3717,966172,570,162148,116,0001,000,0002,260,992
2May 14, 2021 19:3717,967174,899,092147,129,0002,001,0002,260,992
3May 14, 2021 19:3717,969175,235,310147,140,0002,001,0002,260,992
4May 14, 2021 19:3617,971171,752,573146,160,0003,003,0002,392,064
5May 14, 2021 19:3717,971179,649,865147,157,0002,002,0002,260,992
6May 14, 2021 19:3617,973171,001,561148,174,0001,001,0002,260,992
7May 14, 2021 19:4217,973175,427,997148,172,0001,001,0002,392,064
8May 14, 2021 19:4217,982169,204,843147,244,0002,003,0002,502,656
9May 14, 2021 19:4217,991170,565,239148,322,0001,002,0002,379,776
10May 14, 2021 19:3717,992171,651,463148,330,0001,002,0002,260,992
11May 14, 2021 19:3617,993170,617,142148,336,0001,002,0002,260,992
12May 14, 2021 19:3718,004176,844,234148,438,000996,0002,383,872
13May 14, 2021 19:3718,118179,611,316150,378,00002,260,992
14May 14, 2021 19:3618,120171,237,147149,392,0001,002,0002,260,992
15May 14, 2021 19:4218,122171,834,330148,408,0002,005,0002,260,992
16May 14, 2021 19:4218,124172,836,671149,426,0001,002,0002,260,992
17May 14, 2021 19:4218,125176,738,419148,431,0002,005,0002,510,848
18May 14, 2021 19:3618,125173,937,002148,434,0002,005,0002,396,160
19May 14, 2021 19:3618,126174,586,583150,447,00002,400,256
20May 14, 2021 19:3618,129178,865,468149,465,0001,003,0002,260,992
21May 14, 2021 19:4218,133180,329,125148,514,0001,993,0002,387,968
22May 14, 2021 19:3618,140179,461,752150,561,00002,392,064
23May 14, 2021 19:4218,142176,358,890149,583,000997,0002,396,160
24May 14, 2021 19:3618,144178,034,872149,590,0001,003,0002,260,992
25May 14, 2021 19:3718,145174,512,771149,603,0001,004,0002,260,992
26May 14, 2021 19:4218,147178,075,055149,612,0001,004,0002,392,064
27May 14, 2021 19:3718,153178,615,225149,675,000997,0002,523,136