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 19, 2024 10:22Matt StuchlikMatt StuchlikScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:225,29547,180,69214,950,0001,993,0002,289,664
2Jul 19, 2024 10:225,29643,100,52115,951,000996,0002,265,088
3Jul 19, 2024 10:225,30940,734,28815,989,000999,0002,523,136
4Jul 19, 2024 10:225,30936,062,50215,990,000999,0002,285,568
5Jul 19, 2024 10:225,32543,583,77615,036,0002,004,0002,289,664
6Jul 19, 2024 10:225,32939,205,27816,051,0001,003,0002,289,664
7Jul 19, 2024 10:225,33835,607,27415,074,0002,009,0002,289,664
8Jul 19, 2024 10:225,34840,358,01515,100,0002,013,0002,289,664
9Jul 19, 2024 10:225,35143,524,32215,109,0002,014,0002,289,664
10Jul 19, 2024 10:225,58077,053,01217,854,49702,281,472
11Jul 19, 2024 10:225,60578,817,88417,935,20102,289,664
12Jul 19, 2024 10:225,62173,455,39617,987,29802,289,664