摘要:
#include const int INF = 0x3f3f3f3f; const int Maxn = 255; #define ll long long #define mem(x,y) memset(x,y,sizeof(x)) using namespace std; int mp[Maxn][Maxn], cnt = 0, flag = 0; int mx[8] = {2, 2... 阅读全文
摘要:
#include const int INF = 0x3f3f3f3f; const int Maxn = 255; #define ll long long #define mem(x,y) memset(x,y,sizeof(x)) using namespace std; int mp[Maxn][Maxn], cnt = 0, flag = 0; int mx[8] = {2, 2... 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define INF 0x3f3f3f3f #define mem0(a) memset(a,... 阅读全文
摘要:
#include int main() { int i,j,k,l,t,n,h,x; scanf("%d",&t); while(t--) { scanf("%d",&n); scanf("%d",&h); x=0; k=h%2; for(i=1;i<n;i++) { ... 阅读全文
摘要:
1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<cstring> 5 #include<vector> 6 #include<stack> 7 #include<algorithm> 8 using nam 阅读全文
摘要:
1 #include <bits/stdc++.h> 2 using namespace std; 3 #define rep(i,a,b) for(LL i = a;i <= b;++ i) 4 #define per(i,a,b) for(LL i = a;i >= b;-- i) 5 #def 阅读全文
摘要:
1 #include <bits/stdc++.h> 2 #define INFB 0x3fffffffffffffff 3 #define INFS 0x3fffffff 4 #define _xx ios_base::sync_with_stdio(0);cin.tie(0); 5 using 阅读全文
摘要:
1 #include<bits/stdc++.h> 2 3 const int Maxn = 1000005; 4 5 #define ll long long 6 using namespace std; 7 int x[Maxn], pos[33]; 8 int main() { 9 int T 阅读全文
摘要:
#include using namespace std; #define maxn 411 #define INF 11111 int a1[maxn][maxn], a2[maxn][maxn]; int n, m; int d[maxn]; bool vis[maxn]; int dij (int a[maxn][maxn]) { ... 阅读全文
摘要:
1 #include <bits/stdc++.h> 2 #define _xx ios_base::sync_with_stdio(0);cin.tie(0); 3 #define INFS 0x3fffffff 4 #define INFB 0x3fffffffffffffff 5 #defin 阅读全文
摘要:
1 #include <algorithm> 2 #include <cstring> 3 #include <cstdio> 4 #include <bitset> 5 #include <vector> 6 #include <queue> 7 #include <stack> 8 #inclu 阅读全文
|