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, 2022 10:44Eugene ZhydzetskiEugene ZhydzetskiScore: 10,421Success
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, 2022 19:3810,38491,946,48233,227,79502,215,936
2Aug 14, 2022 19:3810,399105,471,34633,278,03002,215,936
3Aug 14, 2022 10:4410,40775,544,42533,302,85102,224,128
4Aug 14, 2022 10:4410,42199,196,90533,348,68902,207,744
5Aug 14, 2022 19:3810,43196,902,34333,378,90802,211,840
6Aug 14, 2022 10:4410,432111,332,32233,382,81602,215,936