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 listDec 22, 2021 04:34Yuriy LyfenkoYuriy LyfenkoScore: 5,806Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:345,757545,523,87216,375,0002,046,0002,334,720
2Dec 22, 2021 04:345,757544,194,18417,399,0001,023,0002,334,720
3Dec 22, 2021 04:345,763544,876,91614,558,0003,882,0002,338,816
4Dec 22, 2021 04:345,774542,305,17115,561,0002,917,0002,338,816
5Dec 22, 2021 04:345,778548,830,11916,436,0002,054,0002,334,720
6Dec 22, 2021 04:345,787544,891,13117,490,0001,028,0002,334,720
7Dec 22, 2021 04:345,806589,098,01018,579,82202,289,664
8Dec 22, 2021 04:345,810555,485,47216,527,0002,065,0002,338,816
9Dec 22, 2021 04:345,813591,070,05318,601,48502,174,976
10Dec 22, 2021 04:345,814547,756,13416,539,0002,067,0002,334,720
11Dec 22, 2021 04:345,820544,584,74815,683,0002,940,0002,334,720
12Dec 22, 2021 04:345,870597,222,62718,783,93602,252,800