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 listFeb 26, 2023 14:03Andranik ChakiryanAndranik ChakiryanScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2023 14:035,43533,553,89816,370,0001,023,0002,342,912
2Feb 26, 2023 14:035,46338,729,64816,452,0001,028,0002,355,200
3Feb 26, 2023 14:035,48143,564,21616,508,0001,031,0002,355,200
4Feb 26, 2023 14:035,49040,492,61016,534,0001,033,0002,342,912
5Feb 26, 2023 14:035,49534,702,44016,551,0001,034,0002,342,912
6Feb 26, 2023 14:035,49640,359,88617,588,00002,351,104
7Feb 26, 2023 14:035,49839,921,96816,558,0001,034,0002,342,912
8Feb 26, 2023 14:035,51639,481,58316,612,0001,038,0002,355,200
9Feb 26, 2023 14:035,53646,592,58516,674,0001,042,0002,342,912
10Feb 26, 2023 14:035,54666,548,90317,748,60702,183,168
11Feb 26, 2023 14:035,56696,280,14417,810,85802,187,264
12Feb 26, 2023 14:035,77580,090,38318,479,26702,183,168