上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 42 下一页
摘要: #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 智人心 阅读(33) 评论(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 智人心 阅读(30) 评论(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 智人心 阅读(30) 评论(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 智人心 阅读(16) 评论(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 智人心 阅读(26) 评论(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 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<queue> #include<cstring> using namespace std; #define maxn 105 int a,b,c; bool visit[maxn][maxn]; struct node{ int a,b,cnt 阅读全文
posted @ 2021-11-30 15:37 智人心 阅读(55) 评论(0) 推荐(0)
摘要: #include<iostream> #include<queue> #include<cstring> using namespace std; #define mn 35 int l,r,c,result; const int da[] = {1,-1,0,0,0,0},db[] = {0,0, 阅读全文
posted @ 2021-11-30 12:04 智人心 阅读(26) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> using namespace std; int main(){ int s,t,r,n,k,tmp,tmp2; scanf("%d%d",&n,&k); while(k--){ scanf("%d%d%d",&s,&t,&r); 阅读全文
posted @ 2021-11-29 20:01 智人心 阅读(23) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ int n,s; char data[20][20]; scanf("%d%d",&n,&s); memset(data,' ',sizeof data); f 阅读全文
posted @ 2021-11-29 19:35 智人心 阅读(20) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 42 下一页