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 listOct 29, 2026 19:52C21C21Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 19:52026,207,80814,235,0001,038,0002,113,536expected "978093 ", got "979108 "
2Oct 29, 2026 19:52027,562,68914,182,0001,050,0002,113,536expected "976441 ", got "976695 "
3Oct 29, 2026 19:52026,111,81414,207,0001,030,0002,113,536expected "978018 ", got "979032 "