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:25Joseph KuoJoseph KuoScore: 11,164Success
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:2210,74557,301,4965,056,00029,328,0002,482,176
2Sep 6, 2024 09:2210,78858,167,7733,046,00031,477,0002,469,888
3Sep 6, 2024 09:2210,82860,786,66210,191,00024,458,0002,289,664
4Sep 6, 2024 09:2511,16473,609,53012,249,00023,477,0002,469,888
5Sep 6, 2024 09:2511,20466,021,90710,955,00024,898,0002,473,984
6Sep 6, 2024 09:2511,21864,849,8589,971,00025,925,0002,289,664