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 18, 2021 15:49Yurkov AlekseyYurkov AlekseyScore: 7,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 15:497,301112,125,92023,361,69202,289,664
2May 18, 2021 15:497,314130,091,72523,404,41202,293,760
3May 18, 2021 15:497,348118,671,21623,513,35902,293,760