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 13, 2021 23:43Yuriy LyfenkoYuriy LyfenkoScore: 5,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:435,42145,107,62215,307,0002,040,0002,523,136
2May 13, 2021 23:435,42644,349,97815,320,0002,042,0002,396,160
3May 13, 2021 23:435,43334,354,24216,362,0001,022,0002,392,064
4May 13, 2021 23:435,44539,042,55315,374,0002,049,0002,510,848
5May 13, 2021 23:435,45234,634,47917,447,00002,523,136
6May 13, 2021 23:435,46338,400,64916,452,0001,028,0002,396,160
7May 13, 2021 23:435,46742,125,45717,493,00002,396,160
8May 13, 2021 23:435,47238,089,82016,480,0001,030,0002,392,064
9May 13, 2021 23:435,47341,951,84917,512,00002,523,136
10May 13, 2021 23:435,64369,492,58218,056,75102,273,280
11May 13, 2021 23:435,64481,683,26118,062,37002,281,472
12May 13, 2021 23:435,66580,653,25918,127,59002,277,376