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 08:38Eugene ZhydzetskiEugene ZhydzetskiScore: 20,491Success
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 08:3820,444131,742,38565,420,91902,199,552
2Aug 14, 2022 08:3820,491118,655,32965,571,33202,207,744
3Aug 14, 2022 08:3820,521119,184,83665,667,95202,215,936