手打代码1234567891011121314//Code author:Gong_Jin#include<bits/stdc++.h>using namespace std;int main(){ int n; double t; cin>>t>>n; t=t/n;n=2*n; printf("%.3f\n%d",t,n);...
手打代码1234567891011121314//Code author:Gong_Jin#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,p,s; cin>>a>>b>>c; p=(a+b+c)/2; s=sqrt(p*(p-a)*(p-b)*(p...
手打代码12345678910111213141516171819#include<bits/stdc++.h>using namespace std;int main(){ int a,b=0,c=0,d=0,d1=0,d2=0,d3=0; cin>>a; for(int i=1;i<=a;i++){ cin>>b; d=b...
手打代码1234567891011121314151617#include<bits/stdc++.h> using namespace std;int main(){ long long a=1,b=1,c=0,d=2,e=0; cin>>c; if(c==1||c==2)cout<<"1"; else{ for...
手打代码12345678910111213141516171819202122232425262728293031#include<bits/stdc++.h>using namespace std;int main(){ double a=0,b=0,c=0,d=0,e=0,q=0,w=13; for(int i=1;i<=12;i++){ cin&...
手打代码1234567891011121314151617181920212223242526#include<bits/stdc++.h>using namespace std;int main(){ long long b; cin>>b; while(b!=1){ cout<<b; if(b%2==0){ co...
手打代码123456789101112131415161718#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; cin>>a; d=a; for(int i=1;i<=10;i++){ b=b+a+a; a=a/2; } cout&l...
手打代码12345678#include<bits/stdc++.h>using namespace std;int main(){ cout<<"Hello, World!"; return 0;} AI分析这是最经典的入门题:输出 Hello, World! 并换行。代码直接使用 cout 打印字符串,没有输入,也没有任何...
手打代码123456789101112131415161718#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d,e,f,j;//a,数量;bcd,鸡尾酒;efj,新疗法(总;成功;百分比) cin>>a>>b>>c; d=b/c*100; f...
手打代码1234567891011121314151617181920212223242526#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; cin>>a>>b; c=200; b=b*0.01+1; d=a; for(int i=1;i<=20;...