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 17, 2024 13:17Matt StuchlikMatt StuchlikScore: 5,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 13:175,68541,216,67816,171,0002,021,0002,289,664
2Jul 17, 2024 13:175,72544,865,30516,284,0002,035,0002,269,184
3Jul 17, 2024 13:175,72639,021,62516,287,0002,035,0002,289,664
4Jul 17, 2024 13:175,72646,480,86116,288,0002,036,0002,289,664
5Jul 17, 2024 13:175,73539,987,96816,313,0002,039,0002,273,280
6Jul 17, 2024 13:175,73847,485,28416,323,0002,040,0002,289,664
7Jul 17, 2024 13:175,74240,028,30916,334,0002,041,0002,289,664
8Jul 17, 2024 13:175,74536,720,73916,342,0002,042,0002,273,280
9Jul 17, 2024 13:175,76336,171,72317,417,0001,024,0002,273,280
10Jul 17, 2024 13:176,18480,751,82819,787,36202,301,952
11Jul 17, 2024 13:176,24083,740,47419,968,01602,297,856
12Jul 17, 2024 13:176,24489,509,49219,980,09002,310,144