codeforces Round 400 D-The Door Problem
#include using namespace std;typedef long long LL;const int N=100000+10;const LL INF=1000000000000000LL;vectora[N];int r[N];int n,m;int bcj[N],s[N];int find(int x){ if (bcj[x]==x) ret
原创
2017-02-28 19:23:04 ·
459 阅读 ·
0 评论