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 listAug 21, 2021 17:11Yuriy LyfenkoYuriy LyfenkoScore: 5,662Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2021 17:115,611536,138,07617,954,00002,338,816
2Dec 22, 2021 04:065,623540,538,10017,994,00002,318,336
3Dec 22, 2021 04:065,624541,016,98815,999,0001,999,0002,334,720
4Dec 22, 2021 04:065,629540,284,68716,013,0002,001,0002,334,720
5Dec 22, 2021 04:065,636541,026,23518,034,00002,334,720
6Aug 21, 2021 17:115,641543,446,41817,049,0001,002,0002,334,720
7Aug 21, 2021 17:115,643547,206,20016,994,0001,062,0002,338,816
8Aug 21, 2021 17:115,647547,300,95118,069,00002,334,720
9Dec 22, 2021 04:065,648579,849,83818,073,80602,256,896
10Dec 22, 2021 04:065,652544,520,86216,078,0002,009,0002,334,720
11Dec 22, 2021 04:065,660544,656,50818,112,00002,334,720
12Dec 22, 2021 04:065,661546,977,25817,051,0001,065,0002,334,720
13Dec 22, 2021 04:065,662544,960,30117,054,0001,065,0002,334,720
14Aug 21, 2021 17:115,663583,129,08118,123,01202,256,896
15Aug 21, 2021 17:115,668549,057,53818,137,00002,334,720
16Aug 21, 2021 17:115,669548,310,78318,142,00002,334,720
17Aug 21, 2021 17:115,673544,617,72917,086,0001,067,0002,338,816
18Dec 22, 2021 04:065,674572,245,46518,156,97502,252,800
19Aug 21, 2021 17:115,691546,210,09818,211,00002,334,720
20Aug 21, 2021 17:115,708571,034,94218,266,93902,256,896
21Dec 22, 2021 04:065,719573,752,06718,301,76602,293,760
22Dec 22, 2021 04:065,721551,783,85817,345,000963,0002,334,720
23Aug 21, 2021 17:115,736543,758,60615,458,0002,898,0002,334,720
24Aug 21, 2021 17:115,739571,818,28518,364,94702,289,664