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 listJul 30, 2024 03:09BenBenScore: 4,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:094,87234,380,97614,550,0001,039,0002,392,064
2Jul 30, 2024 03:094,87633,594,01214,562,0001,040,0002,383,872
3Jul 30, 2024 03:094,88745,842,58214,595,0001,042,0002,527,232
4Jul 30, 2024 03:094,89844,684,78015,672,00002,387,968
5Jul 30, 2024 03:094,90235,125,96914,642,0001,045,0002,265,088
6Jul 30, 2024 03:094,90535,288,26115,695,00002,383,872
7Jul 30, 2024 03:094,91335,574,97814,673,0001,048,0002,265,088
8Jul 30, 2024 03:094,94744,704,88513,851,0001,978,0002,265,088
9Jul 30, 2024 03:094,96436,904,00715,885,00002,265,088
10Jul 30, 2024 03:095,12498,057,41216,397,32302,289,664
11Jul 30, 2024 03:095,12993,175,97316,412,92702,273,280
12Jul 30, 2024 03:095,13275,691,50316,421,50502,285,568