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 6, 2021 00:51evgenikwtevgenikwtScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 00:515,25942,478,54915,839,000989,0002,387,968
2Jun 6, 2021 00:515,26745,854,32715,864,000991,0002,392,064
3Jun 6, 2021 00:515,27243,473,79715,878,000992,0002,396,160
4Jun 6, 2021 00:515,27337,436,44115,880,000992,0002,265,088
5Jun 6, 2021 00:515,27341,983,90115,882,000992,0002,387,968
6Jun 6, 2021 00:515,27343,934,46915,882,000992,0002,387,968
7Jun 6, 2021 00:515,27341,253,07114,889,0001,985,0002,527,232
8Jun 6, 2021 00:515,28143,943,31714,911,0001,988,0002,265,088
9Jun 6, 2021 00:515,29634,342,85115,950,000996,0002,265,088
10Jun 6, 2021 00:515,54280,021,23317,735,68102,281,472
11Jun 6, 2021 00:515,55565,270,75317,775,42902,281,472
12Jun 6, 2021 00:515,67977,018,67718,173,39302,281,472