Signed-off-by: 10-4 <10-4@sairate.fun>
This commit is contained in:
parent
b1a52e2d74
commit
3d5832b39f
|
@ -1,6 +1,10 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main() {
|
||||
cout<<"My name is yizhiyinbao";
|
||||
int a,b,c;
|
||||
cin>>a;
|
||||
cin>>b;
|
||||
cout<<(a+b)*2<<endl;
|
||||
cout<<a*b;
|
||||
return 0;
|
||||
}
|
||||
|
|
BIN
hello world.exe
BIN
hello world.exe
Binary file not shown.
|
@ -0,0 +1,12 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int x,y;
|
||||
cin>>x;
|
||||
cin>>y;
|
||||
cout<<"x+y="<<x+y<<endl;
|
||||
cout<<"x-y="<<x-y<<endl;
|
||||
cout<<"x*y="<<x*y<<endl;
|
||||
cout<<"x/y="<<x/y;
|
||||
return 0;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,8 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int x,y,z;
|
||||
cin>>x>>y>>z;
|
||||
cout<<x*120+y*60+z*72;
|
||||
return 0;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,11 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main() {
|
||||
int n;
|
||||
cin>>n;
|
||||
int s=n%60;
|
||||
int m=n/60%60;
|
||||
int h=n/60/60;
|
||||
cout<<h<<" "<<m<<" "<<s;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue