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 listApr 18, 2024 17:35Robert BurkeRobert BurkeScore: 4,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:354,64532,029,17512,883,0001,982,0002,535,424
2Apr 18, 2024 17:354,64934,728,03211,901,0002,975,0002,535,424
3Apr 18, 2024 17:354,65043,086,25113,889,000992,0002,428,928
4Apr 18, 2024 17:354,65138,489,54812,899,0001,984,0002,510,848
5Apr 18, 2024 17:354,65227,948,63814,885,00002,428,928
6Apr 18, 2024 17:354,65332,367,09611,912,0002,978,0002,535,424
7Apr 18, 2024 17:354,65535,864,20112,911,0001,986,0002,428,928
8Apr 18, 2024 17:354,65633,399,83812,912,0001,986,0002,535,424
9Apr 18, 2024 17:354,65936,911,92413,916,000994,0002,428,928
10Apr 18, 2024 17:354,89787,937,66115,670,33702,191,360
11Apr 18, 2024 17:354,91277,293,33815,718,53102,191,360
12Apr 18, 2024 17:354,91673,714,20315,729,88602,191,360