摘要: 超时,60分 剪枝后80, 阅读全文
posted @ 2019-03-19 22:27 萌新上路 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include using namespace std; char mp[205][205]; void dh(int a,int b,int i) //横线 { for(int k=a;k>n; int len = 5 + 4*n; ... 阅读全文
posted @ 2019-03-19 19:28 萌新上路 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include using namespace std; string ans,a,b; ll atoi(string s) { int ans=0,t=1; for(int i=s.length()-1;i>=0;i--) ... 阅读全文
posted @ 2019-03-19 16:03 萌新上路 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include using namespace std; int d[105][105]; //d[i][j]=x 第i个教室 第j个学生编号x int cnt[105]; int mp[105][105]; ... 阅读全文
posted @ 2019-03-19 15:19 萌新上路 阅读(167) 评论(0) 推荐(0) 编辑