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 7, 2024 17:34matsuoka-601matsuoka-601Score: 4,833Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:344,79838,512,71714,330,0001,023,0002,293,760
2Jun 7, 2024 17:344,81233,731,05914,372,0001,026,0002,527,232
3Jun 7, 2024 17:344,81732,580,35613,359,0002,055,0002,293,760
4Jun 7, 2024 17:344,82437,751,60913,380,0002,058,0002,277,376
5Jun 7, 2024 17:344,82934,181,18615,453,00002,531,328
6Jun 7, 2024 17:344,83236,837,01714,433,0001,030,0002,293,760
7Jun 7, 2024 17:344,83338,369,71814,436,0001,031,0002,273,280
8Jun 7, 2024 17:344,83637,676,48814,443,0001,031,0002,293,760
9Jun 7, 2024 17:344,85542,245,87214,501,0001,035,0002,293,760
10Jun 7, 2024 17:345,07862,849,48816,250,37402,297,856
11Jun 7, 2024 17:345,13594,015,29916,432,00702,306,048
12Jun 7, 2024 17:345,14971,291,32316,476,07002,301,952