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 listJan 15, 2024 07:54matsuoka-601matsuoka-601Score: 5,526Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 07:545,45839,317,66816,440,0001,027,0002,285,568
2Jan 15, 2024 07:545,47640,870,09316,551,000973,0002,285,568
3Jan 15, 2024 07:545,47844,020,34716,500,0001,031,0002,285,568
4Jan 15, 2024 07:545,49031,867,69417,569,00002,285,568
5Jan 15, 2024 07:545,51335,004,51116,604,0001,037,0002,351,104
6Jan 15, 2024 07:545,51645,068,09316,613,0001,038,0002,273,280
7Jan 15, 2024 07:545,52642,571,27516,642,0001,040,0002,273,280
8Jan 15, 2024 07:545,52737,687,66916,646,0001,040,0002,367,488
9Jan 15, 2024 07:545,53634,336,62916,673,0001,042,0002,285,568
10Jan 15, 2024 07:545,64389,096,02118,057,85302,252,800
11Jan 15, 2024 07:545,65983,704,69718,109,71602,293,760
12Jan 15, 2024 07:545,69681,560,51118,226,53302,301,952