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 listDec 18, 2023 19:00IhebIhebScore: 5,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2023 19:005,65735,948,38316,090,0002,011,0002,289,664
2Dec 18, 2023 19:005,66146,445,21318,116,00002,289,664
3Dec 18, 2023 19:005,66940,609,78617,134,0001,007,0002,289,664
4Dec 18, 2023 19:005,67540,754,81016,143,0002,017,0002,289,664
5Dec 18, 2023 19:005,69439,891,79416,196,0002,024,0002,269,184
6Dec 18, 2023 19:005,70947,822,89016,239,0002,029,0002,289,664
7Dec 18, 2023 19:005,71436,716,74516,254,0002,031,0002,269,184
8Dec 18, 2023 19:005,72235,581,28517,293,0001,017,0002,289,664
9Dec 18, 2023 19:005,75038,005,28817,378,0001,022,0002,273,280
10Dec 18, 2023 19:005,830100,689,37618,654,61102,297,856
11Dec 18, 2023 19:005,84197,280,40818,689,98402,301,952
12Dec 18, 2023 19:005,965101,529,14619,087,66002,297,856