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 6, 2021 21:41Yuriy LyfenkoYuriy LyfenkoScore: 19,621Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 6, 2021 21:4119,486191,780,693159,741,0001,996,0002,260,992
2May 7, 2021 18:3919,487188,392,398157,752,0003,993,0002,404,352
3May 7, 2021 18:3919,489189,992,606158,767,0002,995,0002,265,088
4May 6, 2021 21:4119,489190,372,917161,756,00002,260,992
5May 6, 2021 21:4119,490190,765,974159,773,0001,997,0002,260,992
6May 6, 2021 21:4119,490186,242,819159,771,0001,997,0002,392,064
7May 6, 2021 21:4119,490188,051,266158,773,0002,995,0002,387,968
8May 6, 2021 21:4119,492189,730,051159,787,0001,997,0002,260,992
9May 6, 2021 21:4119,492187,637,920159,783,0001,997,0002,260,992
10May 6, 2021 21:4119,492185,423,196159,786,0001,997,0002,260,992
11May 7, 2021 18:3919,496188,172,184160,822,000998,0002,387,968
12May 6, 2021 21:4119,497187,025,270159,831,0001,997,0002,396,160
13May 7, 2021 18:3919,505186,157,936158,895,0002,998,0002,260,992
14May 6, 2021 21:4119,506189,356,767159,899,0001,998,0002,260,992
15May 6, 2021 21:4119,512194,283,525159,948,0001,999,0002,387,968
16May 7, 2021 18:3919,618189,776,158161,834,000998,0002,383,872
17May 6, 2021 21:4119,618192,195,226160,832,0001,997,0002,260,992
18May 6, 2021 21:4119,620188,739,332160,847,0001,998,0002,392,064
19May 6, 2021 21:4119,621188,492,649160,857,0001,998,0002,519,040
20May 6, 2021 21:4119,622187,604,957161,862,000999,0002,260,992
21May 6, 2021 21:4119,624186,658,026160,882,0001,998,0002,260,992
22May 6, 2021 21:4119,625193,267,653161,890,000999,0002,260,992
23May 6, 2021 21:4119,625196,960,135159,893,0002,998,0002,400,256
24May 6, 2021 21:4119,626190,050,121160,900,0001,998,0002,260,992
25May 6, 2021 21:4119,626187,684,435160,901,0001,998,0002,392,064
26May 7, 2021 18:3919,628188,804,896159,917,0002,998,0002,383,872
27May 6, 2021 21:4119,637194,414,172160,988,0001,999,0002,260,992
28May 6, 2021 21:4119,637190,228,553161,989,000999,0002,260,992
29May 7, 2021 18:3919,642194,529,993162,032,0001,000,0002,260,992
30May 7, 2021 18:3919,642190,496,168160,026,0003,000,0002,260,992
31May 6, 2021 21:4119,642188,198,113161,025,0002,000,0002,260,992
32May 6, 2021 21:4119,643187,126,944161,036,0002,000,0002,260,992
33May 6, 2021 21:4119,643196,143,300162,039,0001,000,0002,392,064
34May 6, 2021 21:4119,644191,317,793161,045,0002,000,0002,260,992
35May 7, 2021 18:3919,646189,926,027161,058,0002,000,0002,260,992
36May 6, 2021 21:4119,646189,405,128162,062,0001,000,0002,486,272