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 28, 2024 16:46Joad NacerJoad NacerScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 16:464,47529,548,66014,319,00002,531,328
2Nov 28, 2024 16:464,47731,543,74914,325,00002,433,024
3Nov 28, 2024 16:464,47740,790,28514,326,00002,531,328
4Nov 28, 2024 16:464,48129,232,55113,316,0001,024,0002,531,328
5Nov 28, 2024 16:464,48231,944,70014,341,00002,531,328
6Nov 28, 2024 16:464,48727,216,78514,357,00002,531,328
7Nov 28, 2024 16:464,50431,182,16314,412,00002,531,328
8Nov 28, 2024 16:464,50729,040,35013,393,0001,030,0002,433,024
9Nov 28, 2024 16:464,51829,990,14413,425,0001,032,0002,531,328