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 2, 2023 14:50Jack FrigaardJack FrigaardScore: 5,566Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:505,48839,741,88916,530,0001,033,0002,285,568
2Jan 2, 2023 14:505,51040,942,72716,594,0001,037,0002,285,568
3Jan 2, 2023 14:505,52139,051,27616,627,0001,039,0002,531,328
4Jan 2, 2023 14:505,52350,930,75616,635,0001,039,0002,527,232
5Jan 2, 2023 14:505,52642,571,05616,643,0001,040,0002,285,568
6Jan 2, 2023 14:505,53838,832,86016,681,0001,042,0002,285,568
7Jan 2, 2023 14:505,56646,612,46216,823,000989,0002,285,568
8Jan 2, 2023 14:505,58843,564,05416,887,000993,0002,285,568
9Jan 2, 2023 14:505,58940,953,59916,892,000993,0002,285,568
10Jan 2, 2023 14:505,74999,686,13218,398,23102,293,760
11Jan 2, 2023 14:505,75293,739,84718,407,87302,289,664
12Jan 2, 2023 14:505,77283,038,29318,470,06802,179,072