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 27, 2024 16:29Matt StuchlikMatt StuchlikScore: 4,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 16:294,74836,787,48113,167,0002,025,0002,514,944
2Jul 27, 2024 16:294,75344,258,53914,196,0001,014,0002,433,024
3Jul 27, 2024 16:294,75933,602,47813,199,0002,030,0002,273,280
4Jul 27, 2024 16:294,76030,416,30214,216,0001,015,0002,535,424
5Jul 27, 2024 16:294,76031,092,84614,217,0001,015,0002,273,280
6Jul 27, 2024 16:294,77634,397,16715,282,00002,273,280
7Jul 27, 2024 16:294,77937,429,03813,253,0002,039,0002,535,424
8Jul 27, 2024 16:294,78135,812,76114,280,0001,020,0002,437,120
9Jul 27, 2024 16:294,78831,694,77215,322,00002,535,424
10Jul 27, 2024 16:294,99986,469,61615,995,89002,183,168
11Jul 27, 2024 16:295,01190,463,25616,034,77002,183,168
12Jul 27, 2024 16:295,01687,143,86016,049,90002,199,552