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 17:17AnSaAnSaScore: 4,701Success
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 17:174,66235,484,44613,852,0001,065,0002,269,184
2Jun 30, 2024 17:174,67533,758,54013,964,000997,0002,494,464
3Jun 30, 2024 17:174,68629,350,39913,995,000999,0002,494,464
4Jun 30, 2024 17:174,68634,421,75913,997,000999,0002,269,184
5Jun 30, 2024 17:174,69239,955,58914,013,0001,000,0002,490,368
6Jun 30, 2024 17:174,69931,087,73314,034,0001,002,0002,490,368
7Jun 30, 2024 17:174,70143,333,35814,041,0001,002,0002,494,464
8Jun 30, 2024 17:174,73232,847,84513,124,0002,019,0002,531,328
9Jun 30, 2024 17:174,73331,144,10714,138,0001,009,0002,494,464
10Jun 30, 2024 17:174,95161,425,74815,844,35202,240,512
11Jun 30, 2024 17:174,96872,223,32315,898,80602,379,776
12Jun 30, 2024 17:175,00596,838,20816,016,47402,248,704