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:32Yuriy LyfenkoYuriy LyfenkoScore: 4,458Success
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:324,399542,871,41212,066,0002,011,0002,265,088
2Sep 7, 2022 02:324,404539,661,31513,086,0001,006,0002,523,136
3Sep 7, 2022 02:324,417538,217,66513,124,0001,009,0002,523,136
4Sep 7, 2022 02:324,418541,871,06114,139,00002,265,088
5Sep 7, 2022 02:324,436534,665,81413,181,0001,013,0002,523,136
6Sep 7, 2022 02:324,442534,207,30114,213,00002,523,136
7Sep 7, 2022 02:324,458534,307,90713,246,0001,018,0002,269,184
8Sep 7, 2022 02:324,461542,504,69512,237,0002,039,0002,260,992
9Sep 7, 2022 02:324,467544,473,08412,252,0002,042,0002,260,992
10Sep 7, 2022 02:324,610572,510,60914,753,00902,269,184
11Sep 7, 2022 02:324,620589,047,05414,785,47402,240,512
12Sep 7, 2022 02:324,626592,374,03514,802,96002,240,512