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 04:32Yuriy LyfenkoYuriy LyfenkoScore: 4,555Success
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 04:324,508537,833,89113,397,0001,030,0002,527,232
2Sep 7, 2022 04:324,526535,211,81213,448,0001,034,0002,527,232
3Sep 7, 2022 04:324,529541,591,48713,458,0001,035,0002,387,968
4Sep 7, 2022 04:324,538540,845,92013,486,0001,037,0002,523,136
5Sep 7, 2022 04:324,542541,217,19414,535,00002,260,992
6Sep 7, 2022 04:324,543540,402,00114,538,00002,260,992
7Sep 7, 2022 04:324,555540,959,68814,575,00002,260,992
8Sep 7, 2022 04:324,620540,661,76114,784,00002,260,992
9Sep 7, 2022 04:324,628539,549,22312,836,0001,974,0002,260,992
10Sep 7, 2022 04:324,715587,008,17015,089,51802,281,472
11Sep 7, 2022 04:324,731587,062,73315,138,96902,269,184
12Sep 7, 2022 04:324,744584,020,62815,179,42302,240,512