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:41Jack FrigaardJack FrigaardScore: 4,871Success
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:414,85741,286,15314,507,0001,036,0002,285,568
2Jan 2, 2023 16:414,85837,964,38514,508,0001,036,0002,531,328
3Jan 2, 2023 16:414,85935,775,13915,548,00002,273,280
4Jan 2, 2023 16:414,86144,790,72314,519,0001,037,0002,527,232
5Jan 2, 2023 16:414,86732,845,10415,573,00002,269,184
6Jan 2, 2023 16:414,86836,349,72215,577,00002,285,568
7Jan 2, 2023 16:414,87137,711,89015,587,00002,285,568
8Jan 2, 2023 16:414,87844,293,93114,571,0001,040,0002,285,568
9Jan 2, 2023 16:414,88843,982,35914,601,0001,042,0002,285,568
10Jan 2, 2023 16:415,09765,259,95316,311,87902,293,760
11Jan 2, 2023 16:415,11983,399,86016,380,75202,293,760
12Jan 2, 2023 16:415,130102,327,01116,415,59002,293,760