Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 11, 2021 22:01Yuriy LyfenkoYuriy LyfenkoScore: 5,591Success
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 22:015,57343,407,15815,853,0001,981,0002,387,968
2May 11, 2021 22:015,57335,128,20716,842,000990,0002,523,136
3May 11, 2021 22:015,57434,908,51716,846,000990,0002,408,448
4May 11, 2021 22:015,57643,646,26216,853,000991,0002,260,992
5May 11, 2021 22:015,57946,737,04116,862,000991,0002,392,064
6May 11, 2021 22:015,58143,593,04416,867,000992,0002,269,184
7May 11, 2021 22:015,58242,726,60016,870,000992,0002,400,256
8May 11, 2021 22:015,58348,015,53516,872,000992,0002,523,136
9May 11, 2021 22:015,58341,559,82917,867,00002,396,160
10May 11, 2021 22:015,58942,084,70115,897,0001,987,0002,265,088
11May 11, 2021 22:015,58945,632,13215,899,0001,987,0002,523,136
12May 11, 2021 22:015,58944,756,03715,899,0001,987,0002,260,992
13May 11, 2021 22:015,59147,710,65116,898,000994,0002,260,992
14May 11, 2021 22:015,59243,801,58314,912,0002,982,0002,260,992
15May 11, 2021 22:015,59352,731,24614,916,0002,983,0002,396,160
16May 11, 2021 22:015,59544,199,99916,909,000994,0002,514,944
17May 11, 2021 22:015,60038,715,25715,929,0001,991,0002,400,256
18May 11, 2021 22:015,60252,914,16014,939,0002,987,0002,523,136
19May 11, 2021 22:015,70880,296,00018,265,95602,281,472
20May 11, 2021 22:015,72783,326,17418,327,07302,281,472
21May 11, 2021 22:015,73768,600,39718,357,06002,277,376
22May 11, 2021 22:015,76492,212,36618,445,47402,277,376
23May 11, 2021 22:015,76973,730,08418,460,29702,273,280
24May 11, 2021 22:015,80765,619,78818,582,86102,273,280