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:00Yuriy LyfenkoYuriy LyfenkoScore: 5,638Success
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:005,58745,993,19416,886,000993,0002,260,992
2May 11, 2021 22:005,59046,602,84016,894,000993,0002,523,136
3May 11, 2021 22:005,59849,001,54615,808,0002,107,0002,523,136
4May 11, 2021 22:005,60147,744,24115,932,0001,991,0002,523,136
5May 11, 2021 22:005,60445,661,91716,937,000996,0002,260,992
6May 11, 2021 22:005,62246,871,99315,991,0001,998,0002,523,136
7May 11, 2021 22:005,62345,149,56216,995,000999,0002,396,160
8May 11, 2021 22:005,62348,410,47815,994,0001,999,0002,265,088
9May 11, 2021 22:005,62746,584,54016,006,0002,000,0002,400,256
10May 11, 2021 22:005,62848,287,73017,010,0001,000,0002,387,968
11May 11, 2021 22:005,63446,166,67717,028,0001,001,0002,387,968
12May 11, 2021 22:005,63544,553,59817,031,0001,001,0002,523,136
13May 11, 2021 22:005,63841,575,30416,036,0002,004,0002,260,992
14May 11, 2021 22:005,64037,979,64616,044,0002,005,0002,265,088
15May 11, 2021 22:005,64240,407,73817,052,0001,003,0002,396,160
16May 11, 2021 22:005,64346,165,72416,051,0002,006,0002,392,064
17May 11, 2021 22:005,65243,148,86117,083,0001,004,0002,523,136
18May 11, 2021 22:005,65734,634,50616,091,0002,011,0002,392,064
19May 11, 2021 22:005,88890,099,01518,841,60602,277,376
20May 11, 2021 22:005,90174,022,00018,882,26402,281,472
21May 11, 2021 22:005,90563,048,98518,895,96302,277,376
22May 11, 2021 22:005,948104,382,98319,032,86202,277,376
23May 11, 2021 22:005,95395,239,98419,050,66702,277,376
24May 11, 2021 22:005,96492,775,04419,083,24002,273,280