A题提交地址:https://www.luogu.com.cn/problem/CF330A B题提交地址:https://www.luogu.com.cn/problem/CF365A C题提交地址:https://www.luogu.com.cn/problem/CF378B