摘要: #include<iostream> #include<cstring> using namespace std; int n,k,total,m; char ch[10][10]; bool book[10]; void dfs(int cur){ if(m==k){ total++; retur 阅读全文
posted @ 2021-12-01 22:22 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ int s,cnt,tmp,col; char data[10]; char ch[25][130]; while(scanf("%d%s",&s,data)= 阅读全文
posted @ 2021-12-01 13:15 智人心 阅读(38) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<algorithm> using namespace std; int cnt; struct node{ char data[15]; int len; }Node[10]; bool decode(){ 阅读全文
posted @ 2021-12-01 12:17 智人心 阅读(32) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; struct node{ int ID,a,b; }Node[50005]; bool cmp(node n1,node n2){ if(n1.a>n2.a)return true 阅读全文
posted @ 2021-12-01 11:44 智人心 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; int main(){ int n,s,result,data[20005]; scanf("%d%d",&n,&s); for(int i=0;i<n;i++){ scanf(" 阅读全文
posted @ 2021-12-01 11:35 智人心 阅读(20) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; int main(){ int t,n,sum,data[20005]; scanf("%d",&t); while(t--){ scanf("%d",&n); for(int i 阅读全文
posted @ 2021-12-01 11:23 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #define PI 3.141592653589793 #include<cmath> using namespace std; int main(){ double x1,y1,x2,y2,x3,y3; double k1,b1,k2,b2,x,y,resu 阅读全文
posted @ 2021-12-01 11:14 智人心 阅读(34) 评论(0) 推荐(0)