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 listNov 7, 2024 16:03leonardiusleonardiusScore: 4,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 16:034,64830,676,99212,891,0001,983,0002,289,664
2Nov 7, 2024 16:034,65344,426,22112,903,0001,985,0002,527,232
3Nov 7, 2024 16:034,66030,850,22412,924,0001,988,0002,277,376
4Nov 7, 2024 16:034,66036,513,86912,925,0001,988,0002,285,568
5Nov 7, 2024 16:034,67033,220,65012,951,0001,992,0002,289,664
6Nov 7, 2024 16:034,67732,264,85012,972,0001,995,0002,289,664
7Nov 7, 2024 16:034,68034,166,99113,977,000998,0002,371,584
8Nov 7, 2024 16:034,68333,067,08612,988,0001,998,0002,289,664
9Nov 7, 2024 16:034,69435,768,12313,019,0002,003,0002,289,664