摘要: "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 阅读(176) 评论(0) 推荐(0)
摘要: 简单题意:给两个正整数a,b,问ax+by中第k小的是什么 题解:大家基本都知道了。。lcm+dgcd(d是某系数) 今天突然想起这个题,之前热身赛后没来得及证明,今天中午想了会儿就记下来(也不知道对不对) 首先,我们可以假设gcd(a,b)=1,(如果不为1可以提出一 阅读全文
posted @ 2019-06-11 17:01 sienna 阅读(298) 评论(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 阅读(192) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示