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 8, 2021 18:47evgenikwtevgenikwtScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 18:475,26242,611,06114,858,0001,981,0002,265,088
2Jun 8, 2021 18:475,27143,032,25814,884,0001,984,0002,265,088
3Jun 8, 2021 18:475,27633,008,62916,882,00002,375,680
4Jun 8, 2021 18:475,28637,394,27315,920,000995,0002,392,064
5Jun 8, 2021 18:475,28942,745,58414,935,0001,991,0002,387,968
6Jun 8, 2021 18:475,29238,358,17915,937,000996,0002,527,232
7Jun 8, 2021 18:475,29842,311,54614,958,0001,994,0002,383,872
8Jun 8, 2021 18:475,30548,159,42314,978,0001,997,0002,387,968
9Jun 8, 2021 18:475,31444,046,81416,006,0001,000,0002,265,088
10Jun 8, 2021 18:475,45880,131,76517,465,67902,281,472
11Jun 8, 2021 18:475,46279,795,08417,478,73902,273,280
12Jun 8, 2021 18:475,48175,653,30217,540,78002,285,568