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 15:05matsuoka-601matsuoka-601Score: 4,650Success
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 15:054,64531,152,98214,863,00002,285,568
2Jun 9, 2024 15:054,64633,861,87912,884,0001,982,0002,523,136
3Jun 9, 2024 15:054,64642,671,27013,877,000991,0002,285,568
4Jun 9, 2024 15:054,64734,962,28414,871,00002,285,568
5Jun 9, 2024 15:054,64931,410,80412,893,0001,983,0002,412,544
6Jun 9, 2024 15:054,64933,158,67312,895,0001,983,0002,396,160
7Jun 9, 2024 15:054,65030,808,94413,889,000992,0002,396,160
8Jun 9, 2024 15:054,65135,690,19313,891,000992,0002,285,568
9Jun 9, 2024 15:054,65936,350,20213,915,000993,0002,408,448
10Jun 9, 2024 15:054,89080,942,35415,646,56002,174,976
11Jun 9, 2024 15:054,90659,432,65815,699,64502,306,048
12Jun 9, 2024 15:054,92060,408,94315,743,75402,301,952