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 listSep 6, 2024 09:29Joseph KuoJoseph KuoScore: 5,753Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:295,72147,196,54617,291,0001,017,0002,289,664
2Sep 6, 2024 09:295,73054,206,84616,299,0002,037,0002,289,664
3Sep 6, 2024 09:295,74947,058,83618,397,00002,277,376
4Sep 6, 2024 09:295,75242,860,99416,360,0002,045,0002,519,040
5Sep 6, 2024 09:295,75344,075,49117,389,0001,022,0002,265,088
6Sep 6, 2024 09:295,75846,618,78316,377,0002,047,0002,289,664
7Sep 6, 2024 09:295,77340,116,06417,448,0001,026,0002,387,968
8Sep 6, 2024 09:295,77634,824,29317,457,0001,026,0002,527,232
9Sep 6, 2024 09:295,80343,113,82517,537,0001,031,0002,527,232