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 listJun 3, 2021 16:03Yuriy LyfenkoYuriy LyfenkoScore: 5,055Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:034,996543,137,67313,989,0001,998,0002,273,280
2Jun 3, 2021 16:035,003541,559,33414,009,0002,001,0002,273,280
3Jun 3, 2021 16:035,007540,738,94015,020,0001,001,0002,273,280
4Jun 3, 2021 16:035,024538,302,17515,074,0001,004,0002,281,472
5Jun 3, 2021 16:035,027539,327,86815,080,0001,005,0002,273,280
6Jun 3, 2021 16:035,050539,956,87114,140,0002,020,0002,281,472
7Jun 3, 2021 16:035,055538,362,69714,154,0002,022,0002,281,472
8Jun 3, 2021 16:035,056543,183,22215,168,0001,011,0002,273,280
9Jun 3, 2021 16:035,072539,919,28916,231,00002,273,280
10Jun 3, 2021 16:035,150572,627,08616,481,04402,293,760
11Jun 3, 2021 16:035,172585,858,11916,550,81202,277,376
12Jun 3, 2021 16:035,187567,461,54516,598,44202,289,664