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 19, 2024 10:03Matt StuchlikMatt StuchlikScore: 5,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:035,40739,800,59515,268,0002,035,0002,289,664
2Jul 19, 2024 10:035,41737,492,65716,316,0001,019,0002,289,664
3Jul 19, 2024 10:035,41935,386,68115,302,0002,040,0002,277,376
4Jul 19, 2024 10:035,42443,766,60716,337,0001,021,0002,265,088
5Jul 19, 2024 10:035,42534,719,94215,317,0002,042,0002,523,136
6Jul 19, 2024 10:035,42742,800,74316,344,0001,021,0002,265,088
7Jul 19, 2024 10:035,43943,424,42016,381,0001,023,0002,289,664
8Jul 19, 2024 10:035,43934,521,09816,381,0001,023,0002,289,664
9Jul 19, 2024 10:035,44733,505,85017,431,00002,527,232
10Jul 19, 2024 10:035,66185,932,01518,114,50702,301,952
11Jul 19, 2024 10:035,67657,077,82018,162,34102,297,856
12Jul 19, 2024 10:035,67881,053,39218,168,59902,174,976