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 8, 2022 17:05Bernard TeoBernard TeoScore: 5,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2022 17:055,46081,308,97817,470,82302,297,856
2Sep 8, 2022 17:055,47295,990,22317,509,26002,297,856
3Sep 8, 2022 17:055,48366,320,15017,546,60202,285,568
4Sep 8, 2022 17:055,48777,375,23417,559,69302,277,376
5Sep 8, 2022 17:055,50580,986,08217,614,79902,285,568
6Sep 8, 2022 17:055,51361,573,68517,640,32002,301,952