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 28, 2021 14:29Yuriy LyfenkoYuriy LyfenkoScore: 5,330Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:295,28955,296,71016,249,000677,0002,265,088
2May 28, 2021 14:295,30357,976,96416,343,000628,0002,265,088
3May 28, 2021 14:295,30560,068,75916,977,00002,265,088
4May 28, 2021 14:295,31158,945,76816,430,000566,0002,523,136
5May 28, 2021 14:295,31858,809,82415,953,0001,063,0002,265,088
6May 28, 2021 14:295,32154,303,76217,028,00002,265,088
7May 28, 2021 14:295,33055,242,86417,055,00002,396,160
8May 28, 2021 14:295,33052,742,82817,056,00002,387,968
9May 28, 2021 14:295,33456,297,01017,070,00002,265,088
10May 28, 2021 14:295,55360,206,09917,768,97302,277,376
11May 28, 2021 14:295,583104,606,43517,865,19702,240,512
12May 28, 2021 14:295,63959,658,71418,046,24702,273,280