04 2019 档案
摘要:#include<iostream> #include<algorithm> #include<cstdio> #include<cstring> #define ll long long #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 #defi
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5093 题意:*代表海洋 o代表浮冰 #代表冰山 现在我们需要尽可能多的在海上放船只,需满足一些条件 (一行 一列只能出现一条船,如果被冰山隔开,可多放置(冰山类似于墙)) 思路:我们对于行列的联通块打编号,然后如
阅读全文
摘要:Going Home On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vert
阅读全文
摘要:https://codeforces.com/contest/538 A.Cutting Banner 题意给出一个字符串,你可以删除一段,看能不能拼成codeforces #include<bits/stdc++.h> using namespace std; int main(){ string
阅读全文
摘要:A.字符画 签到 http://acm.csu.edu.cn:20080/csuoj/problemset/problem?pid=2163 #include<bits/stdc++.h> using namespace std; int w; void go(){ for(int i=1;i<=w
阅读全文

浙公网安备 33010602011771号