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 listSep 7, 2022 02:23Yuriy LyfenkoYuriy LyfenkoScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:234,405540,380,65713,090,0001,006,0002,523,136
2Sep 7, 2022 02:234,406543,048,01412,084,0002,014,0002,265,088
3Sep 7, 2022 02:234,416544,139,97513,121,0001,009,0002,265,088
4Sep 7, 2022 02:234,434532,208,15113,175,0001,013,0002,523,136
5Sep 7, 2022 02:234,434539,688,10913,177,0001,013,0002,265,088
6Sep 7, 2022 02:234,451536,502,58513,226,0001,017,0002,260,992
7Sep 7, 2022 02:234,453536,653,39414,248,00002,265,088
8Sep 7, 2022 02:234,457537,121,41013,245,0001,018,0002,523,136
9Sep 7, 2022 02:234,463545,766,84214,282,00002,523,136
10Sep 7, 2022 02:234,591571,750,01414,692,59502,277,376
11Sep 7, 2022 02:234,613591,231,18114,760,74102,285,568
12Sep 7, 2022 02:234,629569,151,86314,812,07802,277,376