0 赞题解:AT_joi2025_yo1c_c いずれか片方 (Either, but Not Both)直接暴力遍历 1 sim n,再用 cnt 记录满足条件的(只整除一个数)即可。 CodeJoe2028