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 29, 2024 06:08Matt StuchlikMatt StuchlikScore: 4,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:084,67840,387,86112,973,0001,995,0002,428,928
2Jul 29, 2024 06:084,68234,469,52213,983,000998,0002,420,736
3Jul 29, 2024 06:084,68530,398,06213,992,000999,0002,531,328
4Jul 29, 2024 06:084,69327,368,40313,017,0002,002,0002,433,024
5Jul 29, 2024 06:084,70331,914,04514,047,0001,003,0002,424,832
6Jul 29, 2024 06:084,70437,825,77714,049,0001,003,0002,428,928
7Jul 29, 2024 06:084,70431,587,31315,053,00002,531,328
8Jul 29, 2024 06:084,72636,217,09513,108,0002,016,0002,531,328
9Jul 29, 2024 06:084,74232,455,89113,152,0002,023,0002,428,928
10Jul 29, 2024 06:084,91784,125,84015,732,83002,301,952
11Jul 29, 2024 06:084,94457,703,82415,820,91102,318,336
12Jul 29, 2024 06:084,94597,817,47415,825,31402,301,952