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 listJun 17, 2023 21:59Ulyanov AlekseyUlyanov AlekseyScore: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 21:595,84643,237,97617,667,0001,039,0002,273,280
2Jun 17, 2023 21:595,85144,481,81117,684,0001,040,0002,277,376
3Jun 17, 2023 21:595,88944,582,46616,861,0001,983,0002,289,664
4Jun 17, 2023 21:595,89537,104,19417,871,000992,0002,289,664
5Jun 17, 2023 21:595,89644,385,32718,867,00002,277,376
6Jun 17, 2023 21:595,89834,986,52017,880,000993,0002,289,664
7Jun 17, 2023 21:595,90045,795,87616,893,0001,987,0002,531,328
8Jun 17, 2023 21:595,90445,168,83916,905,0001,988,0002,289,664
9Jun 17, 2023 21:595,91747,149,89216,942,0001,993,0002,289,664
10Jun 17, 2023 21:596,05594,822,44019,375,34402,297,856
11Jun 17, 2023 21:596,09581,816,62219,505,20002,293,760
12Jun 17, 2023 21:596,107103,788,56919,543,88902,293,760