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 5, 2026 14:01janwwwjanwwwError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2026 14:010320,307,643280,984,00028,400,00036,864Exit with code 1: P1 n=250000000 c127=975981 fnv=2dce744b867f4ace stdin=file st_size=250000000 min=973104@79 max=979473@233 head=f210160657d9c47a6089322d62af069881ec054eb651aa2e28c34cf80b2fbd52 tail=6f6f8a768b91c2c21b4a00325de9a2c5 ......[0000220].[000...stderr