摘要: #include #include #include #define maxn 2020 using namespace std; int n,m,g[maxn][maxn],ans,f[maxn],match[maxn]; int init() { int x=0;char s;s=getchar(); while(s'9')s=getchar(); while(s>=... 阅读全文
posted @ 2016-05-27 19:16 一入OI深似海 阅读(329) 评论(0) 推荐(0) 编辑
摘要: /* codevs 4163 神犇与逆序对 */ #include #define ll long long #define maxn 1000010 using namespace std; ll n,a[maxn],b[maxn],ans; ll init() { ll x=0;char s;s=getchar(); while(s'9')s=getchar(); ... 阅读全文
posted @ 2016-05-27 10:55 一入OI深似海 阅读(176) 评论(0) 推荐(1) 编辑