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 listJul 24, 2024 01:42emily graceemily graceScore: 4,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:424,68433,376,13713,990,000999,0002,273,280
2Jul 24, 2024 01:424,68439,819,50112,992,0001,998,0002,289,664
3Jul 24, 2024 01:424,68633,770,95212,997,0001,999,0002,277,376
4Jul 24, 2024 01:424,69436,459,34614,019,0001,001,0002,289,664
5Jul 24, 2024 01:424,69532,370,87113,020,0002,003,0002,523,136
6Jul 24, 2024 01:424,70234,966,81313,041,0002,006,0002,289,664
7Jul 24, 2024 01:424,70235,693,41913,041,0002,006,0002,273,280
8Jul 24, 2024 01:424,70535,913,75013,050,0002,007,0002,265,088
9Jul 24, 2024 01:424,70737,626,14213,054,0002,008,0002,277,376
10Jul 24, 2024 01:424,92791,753,60515,767,99202,293,760
11Jul 24, 2024 01:424,95181,623,98015,844,62202,297,856
12Jul 24, 2024 01:424,959103,465,54815,867,60702,289,664