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 9, 2024 18:12matsuoka-601matsuoka-601Score: 4,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:124,64945,787,07312,893,0001,983,0002,285,568
2Jun 9, 2024 18:124,65333,677,51812,904,0001,985,0002,408,448
3Jun 9, 2024 18:124,65739,420,89513,908,000993,0002,285,568
4Jun 9, 2024 18:124,67130,555,00112,955,0001,993,0002,412,544
5Jun 9, 2024 18:124,67432,042,06512,962,0001,994,0002,285,568
6Jun 9, 2024 18:124,67433,537,60912,964,0001,994,0002,412,544
7Jun 9, 2024 18:124,67647,786,21613,966,000997,0002,285,568
8Jun 9, 2024 18:124,68539,310,97512,993,0001,998,0002,285,568
9Jun 9, 2024 18:124,69133,178,04513,009,0002,001,0002,404,352
10Jun 9, 2024 18:124,87196,219,92215,587,37902,285,568
11Jun 9, 2024 18:124,92377,396,96115,753,99502,174,976
12Jun 9, 2024 18:124,93964,565,44415,804,69902,297,856