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 listAug 13, 2024 13:20zielajzielajScore: 378,016Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 13:20377,3381,283,317,1751,207,482,68702,191,360
2Aug 13, 2024 13:20378,0161,265,128,1741,209,651,58002,334,720
3Aug 13, 2024 13:20378,4951,280,330,8231,211,184,36202,334,720