2018年7月12日

SHIWEITI

摘要: 1 //Wannafly挑战赛19(牛客网) 2 //A 队列Q 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 int n,m; 10 const int N=1e5+4; 11 int id[N],a[N]; 12 char s[10]; 13 boo... 阅读全文

posted @ 2018-07-12 19:52 cltt 阅读(203) 评论(0) 推荐(0)

。。。。。。。。。

摘要: 1 //hdu 1232 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std; 11 typedef long long ll; 12 const int inf=0... 阅读全文

posted @ 2018-07-12 18:19 cltt 阅读(587) 评论(0) 推荐(0)

Codeforces Round #496 (Div. 3) ABCDE1

摘要: 2^(n-1) x 2^n 2^(n+1) 因为x<2^n,所以2*x<2^(n+1),那么x+y(0<x<y)一定位于 2^(n-1)和2^(n+1)之间。若x+y为2的指数幂,那么必定是2^n. 阅读全文

posted @ 2018-07-12 00:14 cltt 阅读(248) 评论(0) 推荐(0)

导航