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 23, 2024 18:26zielajzielajScore: 368,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2024 18:26367,8281,237,509,5011,177,048,07002,236,416
2Aug 23, 2024 18:26368,3111,239,571,6501,178,595,81002,236,416
3Aug 23, 2024 18:26368,4901,235,179,0731,179,166,68802,240,512