摘要: "contest传送门" A 神秘点赞事件,要水得优雅$2,3,5$ cpp include using namespace std; int main(){ ios::sync_with_stdio(); cin.tie(0); int x,y,z; cin x y z; if(x y+z) co 阅读全文
posted @ 2019-06-13 19:41 sienna 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 简单题意:给两个正整数$a,b$,问$ax+by$中第$k$小的是什么 题解:大家基本都知道了。。$lcm+d gcd$($d$是某系数) 今天突然想起这个题,之前热身赛后没来得及证明,今天中午想了会儿就记下来(也不知道对不对) 首先,我们可以假设$gcd(a,b)=1$,(如果不为$1$可以提出一 阅读全文
posted @ 2019-06-11 17:01 sienna 阅读(297) 评论(0) 推荐(0) 编辑
摘要: "http://codeforces.com/contest/1176" |A|B|C|D|E|F| | | | | | | | |1A|1A|1A|after the game by tutorial|after the game by myself|after the game by mysel 阅读全文
posted @ 2019-06-11 13:10 sienna 阅读(190) 评论(0) 推荐(0) 编辑