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 28, 2021 14:04robotomizerobotomizeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2021 14:0400000Error: Exit with code 2: fatal error: all goroutines are asleep - deadlock! goroutine 1 [select]: io.(*pipe).Read(0xc00003c180, {0xc0003c3480, 0x180, 0x200}) /tmp/go1.17.1/go/src/io/pipe.go:57 +0xb7 io.(*PipeReader).Read(0x0, {0xc0003c3480, 0xc000056...stderr