摘要: #include<iostream> #include<algorithm> using namespace std; struct node{ int v,b; }nd[25]; int cmp(node nd1,node nd2){ if(nd1.v>nd2.v)return 1; return 阅读全文
posted @ 2021-12-05 22:28 智人心 阅读(30) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstring> using namespace std; int main(){ char data[55]; while(scanf("%s",data)==1&&strcmp(data,"#")){ 阅读全文
posted @ 2021-12-05 21:45 智人心 阅读(24) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ int data[150]; int t,n,cnt,i,j,p,pos; scanf("%d",&t); while(t--){ scanf("%d",&n) 阅读全文
posted @ 2021-12-05 21:35 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #include<cstring> using namespace std; int main(){ char a[80],d[]={'/','\\','.','|','_'}; int len; double sum; whil 阅读全文
posted @ 2021-12-05 20:52 智人心 阅读(31) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ char a[260],key[20],*p,old; int i; while(scanf("%s",a)==1){ while(scanf("%s",key 阅读全文
posted @ 2021-12-05 20:10 智人心 阅读(22) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstring> using namespace std; struct node{ char result[305][55]; int len; }; node r[305]; char a[105][ 阅读全文
posted @ 2021-12-05 19:34 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int m,n,num; bool visit[100][100]; char data[100][100],ch; void dfs(int direction,int i,int 阅读全文
posted @ 2021-12-05 18:47 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<algorithm> using namespace std; int main(){ int i,n,len[105],minLen; char a[105][105]; while(scanf("%d", 阅读全文
posted @ 2021-12-05 18:08 智人心 阅读(24) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int a,b,c,d; scanf("%d%d%d%d",&a,&b,&c,&d); printf("5*(5-(1/5))\n"); return 0; } 阅读全文
posted @ 2021-12-05 13:54 智人心 阅读(19) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int data[105][205],a[3],len[105]; void Plus(int i){ int k,l; for(k=i-3;k<i;k++){ for(l=0;l<l 阅读全文
posted @ 2021-12-05 13:52 智人心 阅读(23) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int a,b,c,d,fenmu,fenzi; char opt; while(scanf("%d/%d%c%d/%d",&a,&b,&opt,&c,&d)==5){ fenmu = b*d; 阅读全文
posted @ 2021-12-05 13:11 智人心 阅读(31) 评论(0) 推荐(0)