姜淞文
我叫姜淞文 #include<iostream>#include<iomanip>
using namespace std;
int main(){
cout<<fixed<<setprecision(2)<<(96.0+93.0+98.0)/3.0<<endl;
return(0);
} I have a backpack.
It is large and it is blue.
It is a birthday gift from my parents.
I love it very much.
It is very"hard-working",
because I keep all my school things in it.
It is very heavy.
It is with all the time during school days.
It is a good friend of mine.
#include <iostream>
using namespace std;
int main() {
double length = 2.5;
cout<<"zhou chang:"<<4*length<<endl;
cout<<"mian ji:"<<length*length<<endl;
return 0;
} #include <iostream>
using namespace std;
int main(){
int y,m;
cin >> y>>m;
if(m==1||m==3||m==5||m==7||m==8||m==10||m==12)
cout<<31;
if(m==4||m==6||m==9||m==11)
cout<<30;
if(m==2){
if(y%100!=0 && y%4 ==0 || y%400==0) cout<<29;
else cout<<28;
}
return 0;
} #include <iostream>
using namespace std;
int main () {
int a,b,c,d;
cin >> a >> b >> c ;
if (a <b){
d = a;
a = b;
b = d;
}
if ( a < c){
d = a;
a = c;
c = d;
}
if (b > c) {
cout <<a << " " << b << " " << c ;
}else{cout << a << " " << c << " " << b ;
}
return 0;
} #include <iostream>
using namespace std;
int main () {
int a,b,c,d;
cin >> a >> b >> c ;
if (a <b){
d = a;
a = b;
b = d;
}
if ( a < c){
d = a;
a = c;
c = d;
}
if (b > c) {
cout <<a << " " << b << " " << c ;
}else{cout << a << " " << c << " " << b ;
}
return 0;
} #include <iostream>
using namespace std;
int main() {
cout<<(12302-(1032-1))/234;
return 0;
}
倍数
#include<iostream>
#include<iomanip>
using namespace std;
int main(){
cout<<fixed<<setprecision(2)<<(96.0+93.0+98.0)/3.0<<endl;
return(0);
} #include <iostream>
using namespace std;
int main() {
cout<<"23"<<endl;
return 0;
}
页:
[1]
2