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 listJun 17, 2023 23:02Ulyanov AlekseyUlyanov AlekseyScore: 5,983Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 23:025,92739,823,93915,972,0002,994,0002,277,376
2Jun 17, 2023 23:025,94141,720,48417,009,0002,001,0002,277,376
3Jun 17, 2023 23:025,96044,444,55517,065,0002,007,0002,277,376
4Jun 17, 2023 23:025,97138,385,09217,097,0002,011,0002,277,376
5Jun 17, 2023 23:025,97234,796,34217,100,0002,011,0002,273,280
6Jun 17, 2023 23:025,97442,965,11818,112,0001,006,0002,400,256
7Jun 17, 2023 23:025,98341,844,37017,130,0002,015,0002,273,280
8Jun 17, 2023 23:025,99249,081,47317,157,0002,018,0002,277,376
9Jun 17, 2023 23:026,04046,298,09018,312,0001,017,0002,277,376
10Jun 17, 2023 23:026,19981,653,54819,835,36202,289,664
11Jun 17, 2023 23:026,22865,633,95419,928,74702,174,976
12Jun 17, 2023 23:026,274115,655,77520,077,13702,174,976