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:29AnSaAnSaScore: 5,766Success
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:295,73341,359,00016,306,0002,038,0002,265,088
2Jun 30, 2024 10:295,75241,399,16017,383,0001,022,0002,289,664
3Jun 30, 2024 10:295,75241,889,74217,384,0001,022,0002,265,088
4Jun 30, 2024 10:295,75545,407,63117,392,0001,023,0002,289,664
5Jun 30, 2024 10:295,75538,806,80716,369,0002,046,0002,523,136
6Jun 30, 2024 10:295,76342,327,18516,392,0002,049,0002,289,664
7Jun 30, 2024 10:295,76640,282,66418,451,00002,269,184
8Jun 30, 2024 10:295,77240,344,02717,444,0001,026,0002,289,664
9Jun 30, 2024 10:295,79240,862,43417,506,0001,029,0002,289,664
10Jun 30, 2024 10:295,88085,457,27018,815,18502,289,664
11Jun 30, 2024 10:296,00591,249,92219,217,53102,293,760
12Jun 30, 2024 10:296,05484,466,98819,371,24502,297,856