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 20, 2021 19:11Andrey TsvetkovAndrey TsvetkovScore: 5,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:115,65942,881,01014,086,0004,024,0002,334,720
2Jun 20, 2021 19:115,67133,640,63216,131,0002,016,0002,527,232
3Jun 20, 2021 19:115,67443,312,40616,141,0002,017,0002,334,720
4Jun 20, 2021 19:115,67744,906,86316,147,0002,018,0002,523,136
5Jun 20, 2021 19:115,68045,619,48116,157,0002,019,0002,527,232
6Jun 20, 2021 19:115,69643,981,13316,203,0002,025,0002,326,528
7Jun 20, 2021 19:115,71440,530,75916,254,0002,031,0002,334,720
8Jun 20, 2021 19:115,71679,010,55418,289,63202,236,416
9Jun 20, 2021 19:115,72836,232,50016,293,0002,036,0002,371,584
10Jun 20, 2021 19:115,73279,434,50118,342,93802,220,032
11Jun 20, 2021 19:115,74646,302,85315,322,0003,064,0002,523,136
12Jun 20, 2021 19:115,77876,274,68718,489,30102,236,416