Codeforces 1264 C Beautiful Mirrors with queries —— 线段树+期望

NoSuchKey