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 listNov 8, 2026 12:23janwwwjanwwwError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2026 12:230140,484,914131,264,00002,117,632expected "976623 ", got "0 "stderr
2Nov 8, 2026 12:230140,283,127130,988,00002,117,632expected "976367 ", got "0 "stderr
3Nov 8, 2026 12:230139,912,650130,662,00002,117,632expected "975305 ", got "0 "stderr