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 19, 2023 17:40Ulyanov AlekseyUlyanov AlekseyScore: 5,722Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 17:405,64745,911,51616,062,0002,007,0002,531,328
2Jun 19, 2023 17:405,67234,733,67716,133,0002,016,0002,269,184
3Jun 19, 2023 17:405,67241,880,11817,142,0001,008,0002,269,184
4Jun 19, 2023 17:405,68443,420,21616,169,0002,021,0002,273,280
5Jun 19, 2023 17:405,69339,651,98916,195,0002,024,0002,289,664
6Jun 19, 2023 17:405,70541,999,71316,228,0002,028,0002,281,472
7Jun 19, 2023 17:405,72240,228,85216,275,0002,034,0002,289,664
8Jun 19, 2023 17:405,73341,128,37416,306,0002,038,0002,289,664
9Jun 19, 2023 17:405,75550,591,17216,479,0001,938,0002,289,664
10Jun 19, 2023 17:405,79980,418,36318,556,69002,297,856
11Jun 19, 2023 17:405,82183,169,54218,628,53302,301,952
12Jun 19, 2023 17:405,89171,520,99818,852,25102,293,760