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:04Yuriy LyfenkoYuriy LyfenkoScore: 5,652Success
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:045,609543,012,94816,895,0001,055,0002,289,664
2Dec 22, 2021 04:045,610545,966,04215,959,0001,994,0002,281,472
3Dec 22, 2021 04:045,615545,595,72515,971,0001,996,0002,289,664
4Dec 22, 2021 04:045,619543,726,49815,866,0002,115,0002,289,664
5Dec 22, 2021 04:045,644547,672,52715,051,0003,010,0002,289,664
6Dec 22, 2021 04:045,648538,873,28216,064,0002,008,0002,465,792
7Dec 22, 2021 04:045,652544,830,23016,076,0002,009,0002,289,664
8Dec 22, 2021 04:045,669538,828,24316,126,0002,015,0002,293,760
9Dec 22, 2021 04:045,683569,884,98418,184,90802,293,760
10Dec 22, 2021 04:045,735579,082,99018,351,78402,211,840
11Dec 22, 2021 04:045,745578,429,04618,383,82502,297,856
12Dec 22, 2021 04:045,780539,883,03216,441,0002,055,0002,551,808