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 14, 2024 20:39zielajzielajScore: 375,056Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2024 20:39373,8131,255,209,5501,196,200,31402,211,840
2Aug 14, 2024 20:39375,0561,276,593,7121,200,177,73202,199,552
3Aug 14, 2024 20:39375,0801,253,406,1001,200,256,82702,195,456