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 17, 2023 22:03Ulyanov AlekseyUlyanov AlekseyScore: 5,831Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:035,76441,221,11018,446,00002,273,280
2Jun 17, 2023 22:035,76644,638,84017,426,0001,025,0002,289,664
3Jun 17, 2023 22:035,77142,396,84617,442,0001,026,0002,289,664
4Jun 17, 2023 22:035,79044,774,41317,500,0001,029,0002,269,184
5Jun 17, 2023 22:035,81849,359,99517,583,0001,034,0002,289,664
6Jun 17, 2023 22:035,81946,383,30218,620,00002,281,472
7Jun 17, 2023 22:035,83145,328,67517,622,0001,036,0002,289,664
8Jun 17, 2023 22:035,83234,671,75617,626,0001,036,0002,281,472
9Jun 17, 2023 22:035,88446,440,08417,839,000991,0002,531,328
10Jun 17, 2023 22:035,91576,600,08618,928,71202,297,856
11Jun 17, 2023 22:036,05697,563,87319,378,98802,297,856
12Jun 17, 2023 22:036,06080,029,53419,392,41302,293,760