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 listSep 29, 2026 10:52NicoNicoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2026 10:52046,794,06837,857,000020,480Exit with code 3: 3591 3 126 | 318 287 265 262 254 250 251 260 251 251 250 259 253 254 254 248 248 249 251 252 249 251 252 260 251 251 251 260 250 252 254 254 254 249 251 255 251 250 250 263 254 250 249 255 252 253 245 251 239 | 250 250 256 253 252 250...stderr