weinan030416

导航

2023年3月28日 #

算法2

摘要: 分考场 #include<bits/stdc++.h> using namespace std; int n,m,total; bool isknow[101][101],ok[101]; int main() { cin>>n>>m; for(int i=0;i<m;i++){ int a,b; 阅读全文

posted @ 2023-03-28 20:28 楠030416 阅读(7) 评论(0) 推荐(0) 编辑

修改数组

摘要: 通过80% #include<bits/stdc++.h> using namespace std; int n,num[100001]; void fun(int i){ bool total[100001]; memset(total,false,sizeof(total)); for(int 阅读全文

posted @ 2023-03-28 20:17 楠030416 阅读(13) 评论(0) 推荐(0) 编辑

算法

摘要: #include<bits/stdc++.h> using namespace std; int N,M,K,T,Time[100],Begin[100],To[100][100][100],Total[100]; bool Have[100]; void dfs(int i,int j,int m 阅读全文

posted @ 2023-03-28 15:27 楠030416 阅读(10) 评论(0) 推荐(0) 编辑