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 16:48Jack FrigaardJack FrigaardScore: 4,869Success
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 16:484,78641,692,92014,295,0001,021,0002,535,424
2Jan 2, 2023 16:484,83237,502,98214,431,0001,030,0002,285,568
3Jan 2, 2023 16:484,84337,795,05913,430,0002,066,0002,285,568
4Jan 2, 2023 16:484,84740,261,75014,476,0001,034,0002,285,568
5Jan 2, 2023 16:484,85937,696,07614,512,0001,036,0002,285,568
6Jan 2, 2023 16:484,86832,758,35414,540,0001,038,0002,281,472
7Jan 2, 2023 16:484,86936,865,96314,544,0001,038,0002,285,568
8Jan 2, 2023 16:484,87132,379,97514,548,0001,039,0002,269,184
9Jan 2, 2023 16:484,87940,873,46215,613,00002,285,568
10Jan 2, 2023 16:485,09983,380,06916,317,68702,306,048
11Jan 2, 2023 16:485,10383,848,49816,328,39602,293,760
12Jan 2, 2023 16:485,12387,004,24916,392,22002,289,664