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 2, 2021 14:47Yuriy LyfenkoYuriy LyfenkoScore: 5,103Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:475,01946,634,65914,054,0002,007,0002,527,232
2Jun 2, 2021 14:475,04839,458,66614,133,0002,019,0002,396,160
3Jun 2, 2021 14:475,05730,972,41214,159,0002,022,0002,265,088
4Jun 2, 2021 14:475,06529,172,13116,209,00002,392,064
5Jun 2, 2021 14:475,07332,715,62814,203,0002,029,0002,400,256
6Jun 2, 2021 14:475,07835,715,30915,236,0001,015,0002,506,752
7Jun 2, 2021 14:475,10333,721,16915,308,0001,020,0002,265,088
8Jun 2, 2021 14:475,10437,295,32416,333,00002,400,256
9Jun 2, 2021 14:475,10533,256,25415,315,0001,021,0002,392,064
10Jun 2, 2021 14:475,21071,599,80116,671,16102,240,512
11Jun 2, 2021 14:475,24981,620,97316,797,47502,277,376
12Jun 2, 2021 14:475,25677,115,43816,819,16302,273,280