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:39Yuriy LyfenkoYuriy LyfenkoScore: 5,725Success
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:395,629601,546,25918,012,53402,252,800
2Dec 22, 2021 04:415,637546,129,36816,978,0001,061,0002,334,720
3Dec 22, 2021 04:415,652543,839,01617,023,0001,063,0002,338,816
4Dec 22, 2021 04:395,660545,293,77717,046,0001,065,0002,334,720
5Dec 22, 2021 04:415,664545,354,46618,125,00002,334,720
6Dec 22, 2021 04:415,678547,970,43818,169,00002,334,720
7Dec 22, 2021 04:415,685546,434,10217,122,0001,070,0002,334,720
8Dec 22, 2021 04:415,700574,602,05218,238,76002,293,760
9Dec 22, 2021 04:395,703571,453,88118,248,18802,297,856
10Dec 22, 2021 04:395,711548,338,13416,352,0001,923,0002,330,624
11Dec 22, 2021 04:395,722545,044,21715,420,0002,891,0002,334,720
12Dec 22, 2021 04:395,725547,044,13914,248,0004,071,0002,334,720
13Dec 22, 2021 04:395,725538,006,29416,164,0002,155,0002,322,432
14Dec 22, 2021 04:395,726548,202,84517,305,0001,017,0002,330,624
15Dec 22, 2021 04:415,726542,498,15917,305,0001,017,0002,334,720
16Dec 22, 2021 04:415,727541,242,88116,290,0002,036,0002,338,816
17Dec 22, 2021 04:415,728573,531,41618,330,56502,285,568
18Dec 22, 2021 04:395,733546,063,88616,308,0002,038,0002,326,528
19Dec 22, 2021 04:395,736548,938,95918,354,00002,334,720
20Dec 22, 2021 04:395,736544,367,78314,492,0003,864,0002,334,720
21Dec 22, 2021 04:415,738544,331,90316,429,0001,932,0002,334,720
22Dec 22, 2021 04:415,740543,783,80116,327,0002,040,0002,334,720
23Dec 22, 2021 04:415,749570,379,10718,396,72202,256,896
24Dec 22, 2021 04:395,753568,914,19618,411,10002,256,896