摘要: #include <iostream> using namespace std; int main() { int n,num,g,max_g=0,max_i=0; int grade[100005]={0};//参赛学校编号小于10^5(最后一个测试样例) cin>>n; for(int i=1; 阅读全文
posted @ 2020-02-02 08:48 QRain 阅读(200) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { char M[12]={'1','0','X','9','8','7','6','5','4','3','2'}; char ID[19]; int w[19]={7,9,10,5,8,4,2 阅读全文
posted @ 2020-02-01 10:31 QRain 阅读(153) 评论(0) 推荐(0)
摘要: #define CLK_TCK 100 #include<stdio.h> int main() { int h,m,s; double c1,c2,c3; scanf("%lf %lf",&c1,&c2); c3=(c2-c1)/CLK_TCK; s=c3+0.5; h=s/3600; s=s%3 阅读全文
posted @ 2020-01-29 17:21 QRain 阅读(117) 评论(0) 推荐(0)
摘要: #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)