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 19, 2022 09:11Kenneth MaplesKenneth MaplesScore: 17,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:1117,331105,273,39055,458,17302,191,360
2Sep 19, 2022 09:1117,333125,273,43655,467,11002,179,072
3Sep 19, 2022 09:1117,455124,714,46255,854,54102,179,072
4Sep 19, 2022 09:1117,482119,216,87455,943,05202,179,072
5Sep 19, 2022 09:1117,503111,629,39656,009,72402,252,800
6Sep 19, 2022 09:1117,758127,810,47356,825,12802,183,168