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 listMay 13, 2021 09:13Andrei GrazhdankovAndrei GrazhdankovScore: 5,918,690Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 09:135,914,97018,991,748,50618,927,903,79402,191,360
2May 13, 2021 09:135,918,69019,015,372,75118,939,806,57302,183,168
3May 13, 2021 09:135,922,37519,007,113,86418,951,601,45202,187,264