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:30matsuoka-601matsuoka-601Score: 4,988Success
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:304,96345,310,33613,898,0001,985,0002,285,568
2Jun 9, 2024 18:304,96840,779,78614,904,000993,0002,412,544
3Jun 9, 2024 18:304,96944,701,72013,915,0001,987,0002,412,544
4Jun 9, 2024 18:304,97431,624,59714,855,0001,061,0002,400,256
5Jun 9, 2024 18:304,97836,789,81513,939,0001,991,0002,285,568
6Jun 9, 2024 18:304,98839,633,45614,965,000997,0002,285,568
7Jun 9, 2024 18:304,98840,211,21113,967,0001,995,0002,404,352
8Jun 9, 2024 18:304,99631,817,84913,989,0001,998,0002,404,352
9Jun 9, 2024 18:305,00132,012,50614,003,0002,000,0002,510,848
10Jun 9, 2024 18:305,22494,545,07716,716,59402,256,896
11Jun 9, 2024 18:305,24376,401,84216,777,64402,297,856
12Jun 9, 2024 18:305,28087,498,39316,895,07902,179,072