摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int n,visit[505],edge[505][505],link[505]; bool hungery(int m){ for(int i=1 阅读全文
posted @ 2021-08-13 22:07 智人心 阅读(63) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ int i,j,k,f,v,t,a[100][100],dp[100][100]; scanf("%d%d",&f,&v); 阅读全文
posted @ 2021-08-13 20:06 智人心 阅读(26) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ int i,j,col,data[30],ans[30][305],pos[305]; char a[4][100]; mem 阅读全文
posted @ 2021-08-13 18:51 智人心 阅读(32) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstdio> using namespace std; int p,node_cnt,n,m; int a[200005],b[200005],rt[6000005],lc[6000005],rc[60 阅读全文
posted @ 2021-08-13 17:01 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ int n,ans[4],t,i,j; char a[35]; scanf("%d",&n); while(n--){ sca 阅读全文
posted @ 2021-08-13 11:01 智人心 阅读(33) 评论(0) 推荐(0)