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 21:57Jack FrigaardJack FrigaardScore: 4,868Success
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 21:574,84336,319,53514,464,0001,033,0002,285,568
2Jan 2, 2023 21:574,84632,180,87014,474,0001,033,0002,285,568
3Jan 2, 2023 21:574,85032,901,91814,487,0001,034,0002,527,232
4Jan 2, 2023 21:574,85232,707,79815,526,00002,285,568
5Jan 2, 2023 21:574,85639,211,60714,504,0001,036,0002,285,568
6Jan 2, 2023 21:574,85942,743,94614,514,0001,036,0002,285,568
7Jan 2, 2023 21:574,86834,644,23014,540,0001,038,0002,527,232
8Jan 2, 2023 21:574,87941,089,71814,573,0001,040,0002,269,184
9Jan 2, 2023 21:574,89234,667,78715,653,00002,285,568
10Jan 2, 2023 21:575,09278,654,24516,295,55602,297,856
11Jan 2, 2023 21:575,122104,021,74216,389,94102,301,952
12Jan 2, 2023 21:575,13473,089,14816,428,75102,297,856