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:32Yuriy LyfenkoYuriy LyfenkoScore: 5,858Success
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:325,818544,910,95615,514,0003,102,0002,334,720
2Dec 22, 2021 04:325,821538,404,88815,523,0003,104,0002,334,720
3Dec 22, 2021 04:325,823544,597,58917,600,0001,035,0002,338,816
4Dec 22, 2021 04:325,824545,597,04515,532,0003,106,0002,334,720
5Dec 22, 2021 04:325,840541,878,96316,613,0002,076,0002,334,720
6Dec 22, 2021 04:325,856541,953,96617,699,0001,041,0002,338,816
7Dec 22, 2021 04:325,858542,075,60916,663,0002,082,0002,334,720
8Dec 22, 2021 04:325,860540,922,03716,668,0002,083,0002,334,720
9Dec 22, 2021 04:325,868546,001,44016,693,0002,086,0002,334,720
10Dec 22, 2021 04:325,872583,018,80718,789,23202,293,760
11Dec 22, 2021 04:325,912586,452,96618,917,62602,297,856
12Dec 22, 2021 04:325,913590,763,35918,922,34502,256,896