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 22, 2024 12:31matsuoka-601matsuoka-601Score: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:314,88045,628,68314,576,0001,041,0002,293,760
2Jan 22, 2024 12:314,90935,282,02114,661,0001,047,0002,273,280
3Jan 22, 2024 12:314,91930,399,64414,692,0001,049,0002,293,760
4Jan 22, 2024 12:314,95244,901,81913,865,0001,980,0002,293,760
5Jan 22, 2024 12:314,95831,537,86413,882,0001,983,0002,293,760
6Jan 22, 2024 12:314,95941,615,93513,887,0001,983,0002,293,760
7Jan 22, 2024 12:314,96233,207,12813,894,0001,984,0002,293,760
8Jan 22, 2024 12:314,96841,296,89714,904,000993,0002,293,760
9Jan 22, 2024 12:314,97133,610,02413,918,0001,988,0002,265,088
10Jan 22, 2024 12:315,12592,243,83016,399,29702,183,168
11Jan 22, 2024 12:315,15471,868,33816,491,43602,179,072
12Jan 22, 2024 12:315,15476,473,79616,491,36302,179,072