(l^l+r)<1<<24→r<=~l*x/x
遅いけどな(w