摘要: A. Two Rabbits 思路: 很明显,如果(y-x)%(a+b)==0的话ans=(y-x)/(a+b),否则就为-1 #include<iostream> #include<algorithm> using namespace std; const int maxn = 100000+5; 阅读全文
posted @ 2020-02-17 01:06 overrate_wsj 阅读(256) 评论(0) 推荐(0) 编辑