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 8, 2023 11:42Andrew MoonAndrew MoonScore: 5,420Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 11:425,37545,073,33115,176,0002,023,0002,387,968
2Jul 8, 2023 11:425,38745,462,41215,210,0002,028,0002,387,968
3Jul 8, 2023 11:425,40241,110,82016,271,0001,016,0002,506,752
4Jul 8, 2023 11:425,40533,579,75915,261,0002,034,0002,265,088
5Jul 8, 2023 11:425,41640,625,65717,332,00002,265,088
6Jul 8, 2023 11:425,41640,560,69717,332,00002,383,872
7Jul 8, 2023 11:425,42041,792,17117,343,00002,392,064
8Jul 8, 2023 11:425,42741,620,67016,345,0001,021,0002,383,872
9Jul 8, 2023 11:425,43538,594,21916,368,0001,023,0002,265,088
10Jul 8, 2023 11:425,624102,594,62217,996,55002,281,472
11Jul 8, 2023 11:425,62688,943,15018,004,41102,281,472
12Jul 8, 2023 11:425,633101,948,39418,024,70802,285,568