随笔分类 -  最不怕的大模拟

CodeForces - 899B(思路)
摘要:开始想错了,只考虑了平闰年交替的情况,wr了一发才想起了平平的情况,就补救了一发,也就是说只有闰闰是不行的,所以只要控制两个二月相加小于58就可以了。 阅读全文

posted @ 2017-12-27 20:48 发牌员 阅读(303) 评论(0) 推荐(0)

CodeForces - 898C(大模拟)
摘要:唉,结构体的第0个元素忘了清空,找了半个小时的bug,哭了,必须贴到博客上祭奠一下 阅读全文

posted @ 2017-12-17 18:08 发牌员 阅读(290) 评论(0) 推荐(0)

uva 11995(stl模拟)
摘要:#include #include #include #include #include #include using namespace std; int n; int main() { while(~scanf("%d",&n)) { int flag1=1,flag2=1,flag3=1;//stack成立,queu成立,priority_qu... 阅读全文

posted @ 2017-10-26 17:27 发牌员 阅读(181) 评论(0) 推荐(0)

导航