上一页 1 ··· 66 67 68 69 70
摘要: 哎,再想想应该能写出第三题的!!! A. The Useless Toy 题目大意:给你两个方向的箭头,再给你旋转的次数,问你是顺时针还是逆时针还是不确定。 #include<bits/stdc++.h> #define first fi #define second se #define ll l 阅读全文
posted @ 2017-07-31 14:53 NotNight 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 今天自己模拟了一套题,只写出两道来,第三道时间到了过了几分钟才写出来,啊,太菜了。 A. Taymyr is calling you 水题,问你在z范围内 两个序列 n,2*n,3*n...... 和 m,2*m,3*m.....有多少个是一样的。 #include<bits/stdc++.h> u 阅读全文
posted @ 2017-07-30 15:27 NotNight 阅读(181) 评论(0) 推荐(0) 编辑
摘要: A - Okabe and Future Gadget Laboratory 水题,瞎暴力就能过。 #include<bits/stdc++.h> using namespace std; int n; int a[55][55]; bool judge(int x,int y,int v) { f 阅读全文
posted @ 2017-07-28 20:13 NotNight 阅读(254) 评论(0) 推荐(0) 编辑
摘要: A - Memory and Crow 这题我没看题意,看了样例猜了一下就AC了,题目好像还挺复杂的。 #include<bits/stdc++.h> using namespace std; int a[100005]; int main() { int n; cin>>n; for(int i= 阅读全文
posted @ 2017-07-26 17:02 NotNight 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 今天学长给我们挂了一套Div.1的题,难受,好难啊。 Problem A: 题目大意:给你n个数字,让你叠成n堆,每个数字上面的数的个数不能超过这个数,如 3 上面最多放三个数字 问你,最少能放几堆。 刚开始看错题意,以为只要比这个数字小的数都能放上去,后来看清了题意,一直想的是怎么从下往上放,感觉 阅读全文
posted @ 2017-07-24 15:59 NotNight 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Problem A: 题目大意:给你一个由0,1组成的字符串,如果有相邻的0和1要消去,问你最后还剩几个字符。 写的时候不想看题意直接看样例,结果我以为是1在前0在后才行,交上去错了。。后来仔细 看了看,哎。以后不能自以为是啊。 #include<bits/stdc++.h> using names 阅读全文
posted @ 2017-07-23 19:50 NotNight 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Problem A 水题,以前写过类似的,给你一个正方形,两个人轮流画圆,画不下的一方为输,如果第一个画的下 肯定先手赢,反之后手赢,因为,先手可以画在正中间,然后对称地跟着后手画就好了。 #include<bits/stdc++.h> using namespace std; int main() 阅读全文
posted @ 2017-07-20 15:16 NotNight 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 这场的模拟题真的有du!!! Problem A 水题,更新当前对b取模后的余数,直接模拟。 #include<bits/stdc++.h> using namespace std; const int N=2*1e5; int a,b,n; char s[N]; int main() { scan 阅读全文
posted @ 2017-07-19 15:37 NotNight 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Problem A:水题,直接gan Problem B:水题,写的时候手贱,<26打成<25 wa了五次!!!!! #include<bits/stdc++.h> using namespace std; const int N=2*1e3; int vis[30]; int k,mx; char 阅读全文
posted @ 2017-07-18 14:25 NotNight 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 66 67 68 69 70