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 1, 2021 14:23Ilya AniskovetsIlya AniskovetsError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:2300000Error: expected "976803 ", got "976804 "
2Nov 1, 2021 14:2300000Error: expected "977240 ", got "977241 "
3Nov 1, 2021 14:2300000Error: expected "976110 ", got "976111 "
4Nov 1, 2021 14:2400000Error: expected "978310 ", got "978309 "
5Nov 1, 2021 14:2500000Error: expected "976706 ", got "976708 "
6Nov 1, 2021 14:2500000Error: expected "977311 ", got "977313 "