摘要: #include <string.h> #include <iostream> using namespace std; int main() { char a[1000005],b[1000005],c[127]={0}; fgets(a,1000005,stdin); fgets(b,10000 阅读全文
posted @ 2020-02-05 11:15 QRain 阅读(152) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int n,m; int sale[1005]={0},s,w=0; cin>>n>>m; for(int i=1;i<=m;i++) { for(int j=1;j<=n;j++) { ci 阅读全文
posted @ 2020-02-05 11:04 QRain 阅读(119) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int m,k,r,i; cin>>m; for(int j=0;j<m;j++) { cin>>k; for(i=1;i<10;i++) { r=i*k*k; if((k<10&&(r-k) 阅读全文
posted @ 2020-02-05 10:49 QRain 阅读(108) 评论(0) 推荐(0)
摘要: #include <math.h> #include <stdio.h> int main() { double r1,p1,r2,p2,g1,g2; scanf("%lf %lf %lf %lf",&r1,&p1,&r2,&p2); g1=r1*r2*cos(p1)*cos(p2)-r1*r2*s 阅读全文
posted @ 2020-02-05 10:11 QRain 阅读(142) 评论(0) 推荐(0)