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:16Yuriy LyfenkoYuriy LyfenkoScore: 5,159Success
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:165,101539,117,89016,324,00002,281,472
2Jun 3, 2021 16:165,106542,702,75816,338,00002,273,280
3Jun 3, 2021 16:165,117538,730,56115,351,0001,023,0002,273,280
4Jun 3, 2021 16:165,137539,093,16915,411,0001,027,0002,273,280
5Jun 3, 2021 16:165,138541,817,62816,443,00002,273,280
6Jun 3, 2021 16:165,146542,176,91616,467,00002,273,280
7Jun 3, 2021 16:165,159538,431,97016,509,00002,273,280
8Jun 3, 2021 16:165,184547,080,91815,553,0001,036,0002,273,280
9Jun 3, 2021 16:165,192539,257,49216,614,00002,400,256
10Jun 3, 2021 16:165,245579,696,84116,784,72702,293,760
11Jun 3, 2021 16:165,250574,059,28916,799,48702,289,664
12Jun 3, 2021 16:165,277574,563,27016,887,84302,252,800