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 17, 2021 20:21Yuriy LyfenkoYuriy LyfenkoScore: 17,230Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 20:2117,216173,313,872139,895,0002,997,0002,260,992
2May 17, 2021 20:2217,218173,026,748139,914,0002,998,0002,260,992
3May 17, 2021 20:2117,220170,718,968140,925,0001,998,0002,260,992
4May 17, 2021 20:2217,221172,089,959141,932,000999,0002,392,064
5May 17, 2021 20:2117,221174,665,077140,934,0001,999,0002,392,064
6May 17, 2021 20:2117,224171,954,369137,959,0004,998,0002,523,136
7May 17, 2021 20:2117,225169,893,051139,965,0002,999,0002,260,992
8May 17, 2021 20:2117,225169,204,997141,966,000999,0002,260,992
9May 17, 2021 20:2117,226166,246,906140,975,0001,999,0002,260,992
10May 17, 2021 20:2217,227175,255,458139,981,0002,999,0002,260,992
11May 17, 2021 20:2117,227174,015,517141,981,000999,0002,260,992
12May 17, 2021 20:2217,227177,349,250140,989,0001,999,0002,396,160
13May 17, 2021 20:2217,229169,807,802141,000,0002,000,0002,260,992
14May 17, 2021 20:2117,230168,437,416141,013,0002,000,0002,260,992
15May 17, 2021 20:2217,231167,736,700141,017,0002,000,0002,523,136
16May 17, 2021 20:2217,231175,924,605141,018,0002,000,0002,519,040
17May 17, 2021 20:2117,232170,877,384142,023,0001,000,0002,260,992
18May 17, 2021 20:2117,233170,453,455141,032,0002,000,0002,392,064
19May 17, 2021 20:2117,234168,886,957142,041,0001,000,0002,260,992
20May 17, 2021 20:2217,238170,732,009141,077,0002,001,0002,523,136
21May 17, 2021 20:2117,245170,943,088141,130,0002,001,0002,523,136
22May 17, 2021 20:2217,249172,477,694141,163,0002,002,0002,400,256
23May 17, 2021 20:2117,251171,102,217142,180,0001,001,0002,260,992
24May 17, 2021 20:2117,336171,393,266141,889,0001,998,0002,387,968
25May 17, 2021 20:2117,339175,493,987142,915,000999,0002,387,968
26May 17, 2021 20:2117,345170,804,661141,964,0001,999,0002,400,256
27May 17, 2021 20:2117,351169,955,852143,012,0001,000,0002,260,992