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 14, 2021 21:44alex3dalex3dScore: 9,813Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:389,7532,632,521,15331,210,18302,195,456
2May 14, 2021 21:449,7571,435,203,24631,222,00902,260,992
3May 14, 2021 21:389,7903,010,931,43831,328,28802,191,360
4May 14, 2021 21:389,8132,262,511,16131,402,58202,191,360
5May 14, 2021 21:449,8311,155,951,11231,459,37202,195,456
6May 14, 2021 21:449,8582,220,782,29631,545,88302,191,360