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 15:59leonardiusleonardiusScore: 4,680Success
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 15:594,66936,352,07012,949,0001,992,0002,289,664
2Nov 7, 2024 15:594,67435,539,08312,963,0001,994,0002,535,424
3Nov 7, 2024 15:594,67530,982,89112,967,0001,994,0002,289,664
4Nov 7, 2024 15:594,67834,621,65012,973,0001,995,0002,527,232
5Nov 7, 2024 15:594,68033,351,80912,979,0001,996,0002,289,664
6Nov 7, 2024 15:594,69234,821,37013,013,0002,002,0002,289,664
7Nov 7, 2024 15:594,73341,373,51214,135,0001,009,0002,289,664
8Nov 7, 2024 15:594,81444,521,40614,378,0001,027,0002,289,664
9Nov 7, 2024 15:595,12742,328,84016,407,00002,289,664