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 listJul 17, 2024 09:39Matt StuchlikMatt StuchlikError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 09:3900000Error: expected "977405 ", got " 45 239 97 13 162 114 250 122 43 249 156 234 96 132 207 233 210 46 0 87 223 63 246 135 206 175 57 233 25 135 10 203 124 226 189 112 229 165 206 248 11 102 172 221 91 108 154 152 13 122 18 254 207 132 ...