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 23, 2021 17:34Yuriy LyfenkoYuriy LyfenkoScore: 5,908Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:345,89847,004,95217,882,000993,0002,265,088
2May 23, 2021 17:345,90144,287,50016,897,0001,987,0002,396,160
3May 23, 2021 17:345,90348,541,69516,901,0001,988,0002,383,872
4May 23, 2021 17:345,90443,684,78616,905,0001,988,0002,387,968
5May 23, 2021 17:345,90593,954,03118,894,55402,281,472
6May 23, 2021 17:345,90846,487,91718,905,00002,265,088
7May 23, 2021 17:345,90845,562,24516,916,0001,990,0002,265,088
8May 23, 2021 17:345,91585,692,22318,926,63702,277,376
9May 23, 2021 17:345,926101,407,50818,962,39102,273,280
10May 23, 2021 17:345,92654,942,43416,968,0001,996,0002,265,088
11May 23, 2021 17:345,93650,802,33316,996,0001,999,0002,396,160
12May 23, 2021 17:345,93946,530,07818,004,0001,000,0002,392,064