摘要:
超时,60 超时,80 编译错误 阅读全文
摘要:
#include #include #include #include #include #include #include #include using namespace std; const int maxn = 1e5 +10 ; struct EDGE { int u,v,w; }e[maxn]; int f[maxn]; int fin... 阅读全文
摘要:
AC代码 错误代码 阅读全文
摘要:
#include #include #include #include #include #include #include #include using namespace std; int a[505][505]; int main() { int n; cin>>n; for(int i=0;i>a[i][j]; int i=0,j=0,flag1=0... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; struct Node { int t1,t2; }node[105][105]; int n,m,mint=100000; int vis[105][105]; //因为角色必须移动,所以玩家在某个点碰壁后需要往回... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; int a[505],b[505],ans[505]; int n,flag=0; void dfs(int x,int y,int pos) { if(pos == n-1) { ... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; struct Node { int hp,ak; }p[2][8]; int main() { int n; for(int i=1;i>n; int ct[2]={1,1},time=0; ... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; char mp[105][105]; int n,m; void dfs(int x,int y,char ch) //谨记 x是原数组的列数,y是行数 { if(x=n || y=m) ... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; string temp[105]; map mp; int main() { int n,m; cin>>m>>n; getchar(); //吸收一个换行 for(int i=0;i=j... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; bool IsRun(int y) { if((y%4==0 && y%100!=0)||y%400==0) return true; else return false; } i... 阅读全文