摘要:
、 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 1000000000 #define fi first #define... 阅读全文
摘要:
#include #include #include #include #include using namespace std; const int maxn = 2050; int n,m,ans; char s[maxn][maxn]; bool ok; bool vis[maxn]; int main(){ freopen("evensgn.in","r",std... 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 100000000 #define fi first #define se second #define deb... 阅读全文
摘要:
#include #include #include #include #include using namespace std; const int maxn = 100005; struct edge{ int to; int nxt; }; int n,g[maxn],dep[maxn],dpd[maxn],dpv[maxn]; int head[maxn],cnt;... 阅读全文
摘要:
#include #include #include #include #include using namespace std; const int maxn = 205; struct chs{ int y; int x; }; chs orz[3][maxn*maxn]; int n,vis[maxn][maxn],cnt_op,cnt_no,cnt_o... 阅读全文
摘要:
#include #include #include #include #include #include using namespace std; const int maxn = 100005; int n,m,cnt,d[maxn],h[maxn]; int main(){ freopen("note.in","r",stdin); freopen("note.out... 阅读全文
摘要:
#include #include #include #include #include #include #define ll long long #define mkp make_pair using namespace std; const int MaxN = 255 * 255, MaxM = MaxN * 255, inf = 1000000000; int... 阅读全文
摘要:
#include #include #include #include #include #include #include #define ll long long using namespace std; const int maxn = 1005,maxt = 3005,maxint = 987654321; struct query{ ll a; ll b; ... 阅读全文
摘要:
#include #include #include #include #include using namespace std; const int maxn = 100005; int T,n,a[maxn],cnt,ans; int main(){ freopen("book.in","r",stdin); freopen("book.out","w",std... 阅读全文