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:26Yuriy LyfenkoYuriy LyfenkoScore: 4,476Success
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:264,425539,212,95013,150,0001,011,0002,260,992
2Sep 7, 2022 04:264,442535,758,54112,184,0002,030,0002,265,088
3Sep 7, 2022 04:264,446540,704,62013,210,0001,016,0002,523,136
4Sep 7, 2022 04:264,450536,477,88113,223,0001,017,0002,265,088
5Sep 7, 2022 04:264,472543,114,38412,265,0002,044,0002,260,992
6Sep 7, 2022 04:264,473543,445,86713,292,0001,022,0002,523,136
7Sep 7, 2022 04:264,476535,098,64213,300,0001,023,0002,527,232
8Sep 7, 2022 04:264,476536,676,35313,301,0001,023,0002,260,992
9Sep 7, 2022 04:264,503536,843,71313,382,0001,029,0002,392,064
10Sep 7, 2022 04:264,608572,588,85614,745,62902,244,608
11Sep 7, 2022 04:264,634581,200,23014,830,09302,240,512
12Sep 7, 2022 04:264,635564,395,03814,832,30602,293,760