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 17, 2021 19:50Yuriy LyfenkoYuriy LyfenkoScore: 5,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:505,353256,691,58317,131,00002,396,160
2May 17, 2021 19:505,3601,248,696,88915,135,0002,018,0002,265,088
3May 17, 2021 19:505,3672,935,605,41715,267,0001,908,0002,527,232
4May 17, 2021 19:505,3691,922,691,19715,161,0002,021,0002,273,280
5May 17, 2021 19:505,3832,218,753,86216,212,0001,013,0002,269,184
6May 17, 2021 19:505,3861,573,117,50016,221,0001,013,0002,260,992
7May 17, 2021 19:505,3862,041,889,24415,321,0001,915,0002,269,184
8May 17, 2021 19:505,396526,218,40016,308,000959,0002,269,184
9May 17, 2021 19:505,4031,332,749,41817,291,00002,265,088
10May 17, 2021 19:505,545441,202,75617,742,57802,281,472
11May 17, 2021 19:505,5512,519,279,74617,763,30502,281,472
12May 17, 2021 19:505,5611,546,703,18817,794,70202,277,376