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 18, 2023 17:13Andranik ChakiryanAndranik ChakiryanScore: 6,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2023 17:135,99541,341,23418,174,0001,009,0002,289,664
2Feb 18, 2023 17:136,00151,646,60817,183,0002,021,0002,289,664
3Feb 18, 2023 17:136,00642,027,09617,196,0002,023,0002,293,760
4Feb 18, 2023 17:136,01035,896,05117,209,0002,024,0002,330,624
5Feb 18, 2023 17:136,01140,758,40316,198,0003,037,0002,330,624
6Feb 18, 2023 17:136,02433,612,63018,264,0001,014,0002,285,568
7Feb 18, 2023 17:136,04336,110,02217,304,0002,035,0002,330,624
8Feb 18, 2023 17:136,05544,294,31718,358,0001,019,0002,330,624
9Feb 18, 2023 17:136,09136,814,76817,440,0002,051,0002,330,624
10Feb 18, 2023 17:136,14659,718,48619,667,44002,252,800
11Feb 18, 2023 17:136,15689,168,59219,700,09002,256,896
12Feb 18, 2023 17:136,22399,251,94219,912,61002,256,896