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 30, 2024 10:28AnSaAnSaScore: 5,080Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:285,02939,740,44314,083,0002,011,0002,269,184
2Jun 30, 2024 10:285,04638,849,80914,130,0002,018,0002,289,664
3Jun 30, 2024 10:285,05244,079,41114,145,0002,020,0002,289,664
4Jun 30, 2024 10:285,06245,114,36915,187,0001,012,0002,289,664
5Jun 30, 2024 10:285,07041,855,03814,196,0002,028,0002,289,664
6Jun 30, 2024 10:285,07739,470,58014,215,0002,030,0002,289,664
7Jun 30, 2024 10:285,08044,797,40415,240,0001,016,0002,523,136
8Jun 30, 2024 10:285,11335,276,37814,317,0002,045,0002,289,664
9Jun 30, 2024 10:285,11743,995,25315,351,0001,023,0002,289,664
10Jun 30, 2024 10:285,21892,223,48216,696,27302,301,952
11Jun 30, 2024 10:285,31280,762,41516,997,81102,285,568
12Jun 30, 2024 10:285,32489,265,52117,036,17802,289,664