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 13, 2023 00:54gchebanovgchebanovScore: 5,345Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2023 00:545,30633,348,51114,982,0001,997,0002,281,472
2Jul 13, 2023 00:545,31839,420,99615,016,0002,002,0002,281,472
3Jul 13, 2023 00:545,31938,640,18215,020,0002,002,0002,281,472
4Jul 13, 2023 00:545,32044,811,78415,022,0002,002,0002,281,472
5Jul 13, 2023 00:545,33445,786,91015,062,0002,008,0002,281,472
6Jul 13, 2023 00:545,33639,339,79615,067,0002,008,0002,408,448
7Jul 13, 2023 00:545,34533,388,79915,091,0002,012,0002,281,472
8Jul 13, 2023 00:545,35238,706,61016,120,0001,007,0002,400,256
9Jul 13, 2023 00:545,36434,355,23516,155,0001,009,0002,281,472
10Jul 13, 2023 00:545,53690,609,99217,714,39502,301,952
11Jul 13, 2023 00:545,55967,165,75917,789,00902,289,664
12Jul 13, 2023 00:545,57392,158,19817,832,08902,293,760