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 20, 2023 22:48gchebanovgchebanovScore: 5,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2023 22:485,95348,123,45818,048,0001,002,0002,392,064
2Jul 20, 2023 22:485,95344,605,33718,048,0001,002,0002,392,064
3Jul 20, 2023 22:485,95450,201,71817,049,0002,005,0002,265,088
4Jul 20, 2023 22:485,95934,847,05317,063,0002,007,0002,265,088
5Jul 20, 2023 22:485,97147,662,98318,102,0001,005,0002,387,968
6Jul 20, 2023 22:485,97746,442,13117,114,0002,013,0002,265,088
7Jul 20, 2023 22:485,98646,156,00317,139,0002,016,0002,383,872
8Jul 20, 2023 22:485,99040,806,40318,160,0001,008,0002,265,088
9Jul 20, 2023 22:485,99146,409,70218,163,0001,009,0002,387,968
10Jul 20, 2023 22:486,17284,261,77319,750,44002,285,568
11Jul 20, 2023 22:486,17491,423,16319,757,35502,281,472
12Jul 20, 2023 22:486,22787,697,09419,925,45702,285,568