摘要:
转自https://www.cnblogs.com/rmy020718/p/9546071.html int deep[N+1]; int q[N+1]= {0},h,t; int cur[N+1]; bool bfs(int S,int T) { for (int i=0; i<=n; i++) 阅读全文
摘要:
贪心 #include <iostream> #include<algorithm> #include<string.h> #include<set> using namespace std; const int maxn=100010; int ans[maxn]; int a[4]; void 阅读全文
摘要:
http://codeforces.com/contest/1257/problem/D D. Yet Another Monster Killing Problemtime limit per test2 secondsmemory limit per test256 megabytesinput 阅读全文