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 listSep 26, 2023 12:27IhebIhebScore: 5,710Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 12:275,66941,109,72716,127,0002,015,0002,289,664
2Sep 26, 2023 12:275,69435,501,93516,198,0002,024,0002,289,664
3Sep 26, 2023 12:275,69640,385,01017,215,0001,012,0002,289,664
4Sep 26, 2023 12:275,69944,388,17416,212,0002,026,0002,289,664
5Sep 26, 2023 12:275,70135,793,07116,217,0002,027,0002,289,664
6Sep 26, 2023 12:275,70142,644,92017,231,0001,013,0002,289,664
7Sep 26, 2023 12:275,71039,799,75916,243,0002,030,0002,289,664
8Sep 26, 2023 12:275,71435,882,77716,253,0002,031,0002,289,664
9Sep 26, 2023 12:275,72141,259,15817,290,0001,017,0002,289,664
10Sep 26, 2023 12:275,88692,028,96118,836,78402,174,976
11Sep 26, 2023 12:275,90793,125,50718,901,40502,289,664
12Sep 26, 2023 12:275,907109,405,32318,903,75302,301,952