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 2, 2021 18:28Yuriy LyfenkoYuriy LyfenkoScore: 5,027Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:284,98995,875,69314,968,000997,0002,392,064
2Jun 2, 2021 18:284,99492,101,74813,984,0001,997,0002,265,088
3Jun 2, 2021 18:284,99896,049,50214,994,000999,0002,265,088
4Jun 2, 2021 18:284,99891,932,50713,995,0001,999,0002,265,088
5Jun 2, 2021 18:285,01895,919,87514,052,0002,007,0002,523,136
6Jun 2, 2021 18:285,02290,639,08714,061,0002,008,0002,265,088
7Jun 2, 2021 18:285,02791,242,90714,076,0002,010,0002,265,088
8Jun 2, 2021 18:285,04195,552,43215,124,0001,008,0002,269,184
9Jun 2, 2021 18:285,06097,611,23814,168,0002,024,0002,375,680
10Jun 2, 2021 18:285,150123,950,51316,479,56702,260,992
11Jun 2, 2021 18:285,165130,170,40916,527,14502,244,608
12Jun 2, 2021 18:285,192127,447,27016,613,90402,244,608