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 22, 2024 13:48Huy Duc LeHuy Duc LeScore: 4,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:484,66643,417,01712,940,0001,990,0002,285,568
2Feb 22, 2024 13:484,66943,652,07812,949,0001,992,0002,293,760
3Feb 22, 2024 13:484,67043,217,82412,953,0001,992,0002,293,760
4Feb 22, 2024 13:484,68234,825,51112,986,0001,997,0002,285,568
5Feb 22, 2024 13:484,68632,082,87713,996,000999,0002,285,568
6Feb 22, 2024 13:484,71330,967,43413,070,0002,010,0002,285,568
7Feb 22, 2024 13:484,71731,904,11414,088,0001,006,0002,285,568
8Feb 22, 2024 13:484,72336,231,52914,105,0001,007,0002,293,760
9Feb 22, 2024 13:484,72840,841,22613,114,0002,017,0002,289,664
10Feb 22, 2024 13:484,90375,602,21815,689,93502,306,048
11Feb 22, 2024 13:484,91879,155,78215,738,68102,301,952
12Feb 22, 2024 13:484,92480,234,51715,755,96502,297,856