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 8, 2024 18:16AndreyTSAndreyTSScore: 5,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:165,67344,410,59317,145,0001,008,0002,289,664
2Jun 8, 2024 18:165,68646,444,83117,186,0001,010,0002,289,664
3Jun 8, 2024 18:165,70642,480,03417,245,0001,014,0002,269,184
4Jun 8, 2024 18:165,71335,718,17116,251,0002,031,0002,265,088
5Jun 8, 2024 18:165,71436,061,15716,253,0002,031,0002,289,664
6Jun 8, 2024 18:165,71642,362,11916,260,0002,032,0002,289,664
7Jun 8, 2024 18:165,72335,538,53717,297,0001,017,0002,289,664
8Jun 8, 2024 18:165,72350,885,06617,298,0001,017,0002,289,664
9Jun 8, 2024 18:165,72449,449,94217,300,0001,017,0002,289,664
10Jun 8, 2024 18:166,15693,777,73419,697,84202,297,856
11Jun 8, 2024 18:166,19285,223,65219,813,87702,301,952
12Jun 8, 2024 18:166,20190,763,07019,842,30002,306,048