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 13:14AnSaAnSaScore: 4,907Success
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 13:144,88140,899,69715,619,00002,506,752
2Jun 30, 2024 13:144,88746,156,69414,597,0001,042,0002,531,328
3Jun 30, 2024 13:144,90146,541,90715,682,00002,494,464
4Jun 30, 2024 13:144,90138,452,70915,682,00002,502,656
5Jun 30, 2024 13:144,90335,163,82315,688,00002,506,752
6Jun 30, 2024 13:144,90333,492,00514,643,0001,045,0002,502,656
7Jun 30, 2024 13:144,90748,738,04114,655,0001,046,0002,502,656
8Jun 30, 2024 13:144,91431,770,80815,726,00002,531,328
9Jun 30, 2024 13:144,91736,553,34715,734,00002,502,656
10Jun 30, 2024 13:145,17892,015,70816,568,35602,252,800
11Jun 30, 2024 13:145,20985,627,55316,670,30402,248,704
12Jun 30, 2024 13:145,24476,172,30616,780,55802,252,800