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:25Yuriy LyfenkoYuriy LyfenkoScore: 4,488Success
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:254,463537,818,53913,263,0001,020,0002,265,088
2Sep 7, 2022 04:254,467539,587,85313,274,0001,021,0002,260,992
3Sep 7, 2022 04:254,470535,083,10213,283,0001,021,0002,260,992
4Sep 7, 2022 04:254,472536,470,73913,289,0001,022,0002,387,968
5Sep 7, 2022 04:254,473543,519,03713,290,0001,022,0002,523,136
6Sep 7, 2022 04:254,483537,486,04113,320,0001,024,0002,260,992
7Sep 7, 2022 04:254,488542,222,22314,360,00002,260,992
8Sep 7, 2022 04:254,493536,634,09014,379,00002,265,088
9Sep 7, 2022 04:254,508541,241,29413,396,0001,030,0002,523,136
10Sep 7, 2022 04:254,633575,099,30914,827,03302,244,608
11Sep 7, 2022 04:254,664598,280,64814,926,38702,269,184
12Sep 7, 2022 04:254,670574,912,85914,942,65702,281,472