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 11, 2021 19:47Yuriy LyfenkoYuriy LyfenkoScore: 19,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:4719,389186,613,732159,932,000999,0002,260,992
2May 11, 2021 19:4719,391185,869,123158,950,0001,999,0002,392,064
3May 11, 2021 19:4619,393187,629,703157,962,0002,999,0002,383,872
4May 11, 2021 19:4719,394193,914,667159,974,000999,0002,523,136
5May 11, 2021 19:4719,396184,440,900156,985,0003,999,0002,396,160
6May 11, 2021 19:4719,396190,864,158157,984,0002,999,0002,396,160
7May 11, 2021 19:4719,396189,570,037159,986,000999,0002,523,136
8May 11, 2021 19:4719,396188,683,053158,985,0001,999,0002,392,064
9May 11, 2021 19:4719,398190,125,744158,000,0003,000,0002,260,992
10May 11, 2021 19:4619,400184,020,250159,016,0002,000,0002,260,992
11May 11, 2021 19:4719,400187,041,482159,017,0002,000,0002,260,992
12May 11, 2021 19:4719,401185,713,483159,026,0002,000,0002,514,944
13May 11, 2021 19:4719,401187,007,517159,025,0002,000,0002,260,992
14May 11, 2021 19:4619,403188,327,880159,049,0002,000,0002,260,992
15May 11, 2021 19:4719,403192,296,962160,049,0001,000,0002,392,064
16May 11, 2021 19:4619,404188,148,607161,054,00002,260,992
17May 11, 2021 19:4719,406187,327,980158,065,0003,001,0002,260,992
18May 11, 2021 19:4719,412188,758,380160,120,0001,000,0002,523,136
19May 11, 2021 19:4719,416185,659,634159,152,0002,001,0002,392,064
20May 11, 2021 19:4719,417189,267,981159,160,0002,002,0002,392,064
21May 11, 2021 19:4719,417186,568,166160,158,0001,000,0002,387,968
22May 11, 2021 19:4719,417187,526,178159,156,0002,001,0002,523,136
23May 11, 2021 19:4619,420191,570,868159,183,0002,002,0002,396,160
24May 11, 2021 19:4719,421191,309,320159,189,0002,002,0002,260,992
25May 11, 2021 19:4619,423186,683,213159,213,0002,002,0002,523,136
26May 11, 2021 19:4619,423187,366,675158,206,0003,003,0002,260,992
27May 11, 2021 19:4719,424188,338,468160,215,0001,001,0002,260,992
28May 11, 2021 19:4719,427182,397,638161,241,00002,260,992
29May 11, 2021 19:4719,429183,776,718160,258,0001,001,0002,260,992
30May 11, 2021 19:4619,559186,019,091162,341,00002,519,040
31May 11, 2021 19:4619,560184,597,224162,352,00002,260,992
32May 11, 2021 19:4719,562184,902,234160,357,0002,004,0002,260,992
33May 11, 2021 19:4719,578187,624,540160,490,0002,006,0002,260,992
34May 11, 2021 19:4719,580186,278,300162,515,00002,260,992
35May 11, 2021 19:4719,582188,960,674160,527,0002,006,0002,265,088
36May 11, 2021 19:4719,586190,208,403160,573,0001,994,0002,260,992