镇乃天子
This commit is contained in:
13
666/交换2.cpp
Normal file
13
666/交换2.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
|
||||
int a,b,c;
|
||||
cin>>a>>b;
|
||||
cout<<a<<" "<<b<<" ";
|
||||
c=a;
|
||||
a=b;
|
||||
b=c;
|
||||
cout<<a<<" "<<b<<endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user