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:33Matt StuchlikMatt StuchlikScore: 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 29, 2024 06:335,32136,873,55416,027,0001,001,0002,428,928
2Jul 29, 2024 06:335,33342,860,28916,063,0001,003,0002,535,424
3Jul 29, 2024 06:335,33541,185,01016,068,0001,004,0002,424,832
4Jul 29, 2024 06:335,33640,285,63617,074,00002,273,280
5Jul 29, 2024 06:335,34143,064,43215,081,0002,010,0002,535,424
6Jul 29, 2024 06:335,34440,411,02616,095,0001,005,0002,535,424
7Jul 29, 2024 06:335,34541,138,88716,097,0001,006,0002,433,024
8Jul 29, 2024 06:335,35038,348,89715,107,0002,014,0002,428,928
9Jul 29, 2024 06:335,35142,164,38616,117,0001,007,0002,428,928
10Jul 29, 2024 06:335,56398,275,26817,800,35202,179,072
11Jul 29, 2024 06:335,56379,000,04017,802,17102,314,240
12Jul 29, 2024 06:335,56791,607,99317,813,98502,187,264