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, 2024 19:33kytanskytansScore: 5,666Success
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, 2024 19:335,59242,448,92215,907,0001,988,0002,293,760
2Jul 13, 2024 19:335,61335,713,71415,965,0001,995,0002,293,760
3Jul 13, 2024 19:335,62844,700,73516,008,0002,001,0002,293,760
4Jul 13, 2024 19:335,64841,279,74016,065,0002,008,0002,285,568
5Jul 13, 2024 19:335,65043,139,18316,072,0002,009,0002,293,760
6Jul 13, 2024 19:335,65140,648,88516,073,0002,009,0002,293,760
7Jul 13, 2024 19:335,66638,307,08118,130,00002,277,376
8Jul 13, 2024 19:335,68341,368,08816,167,0002,020,0002,277,376
9Jul 13, 2024 19:335,69742,434,73416,206,0002,025,0002,293,760
10Jul 13, 2024 19:335,83881,584,38518,682,94502,256,896
11Jul 13, 2024 19:335,86489,928,51718,764,67502,289,664
12Jul 13, 2024 19:335,91391,548,60618,921,69902,297,856