摘要: #include <iostream> using namespace std; int main() { int num[11]; int w=0,k=1; char result[55]; for(int i=0;i<10;i++) { cin>>num[i]; if(w==0&&num[i]! 阅读全文
posted @ 2020-01-22 16:43 QRain 阅读(105) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { long long int a,b,c; int d,i=0; int num[32]; cin>>a>>b>>d; c=a+b; if(c==0) { cout<<"0"<<endl; re 阅读全文
posted @ 2020-01-22 16:26 QRain 阅读(120) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string.h> using namespace std; int main() { char n[1002]; int num[11]; int c[11]={0}; int tmp; cin>>n; for(int i=0;i<=9; 阅读全文
posted @ 2020-01-22 16:15 QRain 阅读(108) 评论(0) 推荐(0)
摘要: #include <stdio.h> struct STUFF { double ku,price; double dan; }; int main() { int N,D; float income=0; struct STUFF stuff[1001]; scanf("%d %d",&N,&D) 阅读全文
posted @ 2020-01-22 15:42 QRain 阅读(151) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <vector> #include <algorithm> #include <string.h> #include <cmath> #include <stdlib.h> #include <iostream> using namespace 阅读全文
posted @ 2020-01-22 15:24 QRain 阅读(175) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int N; cin>>N; int w1=0,w2=0,w3=0; int ac=0,aj=0,ab=0; int bc=0,bj=0,bb=0; int ra,rb; char a,b; 阅读全文
posted @ 2020-01-22 11:36 QRain 阅读(127) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_37729102/article/details/81673910 阅读全文
posted @ 2020-01-22 10:57 QRain 阅读(132) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string.h> #include <cmath> using namespace std; int main() { char a[11],b[11]; char da,db; int ca=0,cb=0; int numa=0,num 阅读全文
posted @ 2020-01-22 10:48 QRain 阅读(110) 评论(0) 推荐(0)
摘要: strcmp(str1,str2),若str1=str2,则返回零;若str1<str2,则返回负数;若str1>str2,则返回正数 通过 #include <iostream> #include <string.h> #include <cmath> #include <vector> #inc 阅读全文
posted @ 2020-01-22 10:39 QRain 阅读(151) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string.h> #include <cmath> using namespace std; int main() { char a[61],b[61],c[61],d[61]; int w=0,w1=0,h=0,m; cin>>a>>b 阅读全文
posted @ 2020-01-22 08:40 QRain 阅读(137) 评论(0) 推荐(0)