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 29, 2021 21:28Andrey TsvetkovAndrey TsvetkovScore: 5,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 21:285,61232,009,40015,963,0001,995,0002,482,176
2Sep 29, 2021 21:285,61644,636,76815,975,0001,996,0002,338,816
3Sep 29, 2021 21:285,62241,122,07516,991,000999,0002,342,912
4Sep 29, 2021 21:285,64135,595,83817,049,0001,002,0002,342,912
5Sep 29, 2021 21:285,64241,736,58117,051,0001,003,0002,486,272
6Sep 29, 2021 21:285,65243,429,35317,082,0001,004,0002,486,272
7Sep 29, 2021 21:285,65893,854,91118,106,29902,174,976
8Sep 29, 2021 21:285,66346,423,53516,107,0002,013,0002,482,176
9Sep 29, 2021 21:285,68246,970,69017,173,0001,010,0002,494,464
10Sep 29, 2021 21:285,68339,073,14216,164,0002,020,0002,347,008
11Sep 29, 2021 21:285,72789,395,74918,325,37902,179,072
12Sep 29, 2021 21:285,77083,791,88018,463,36802,301,952