delete pics to save space
This commit is contained in:
17
history_source/信息学奥赛一本通/1.8.1.cpp
Normal file
17
history_source/信息学奥赛一本通/1.8.1.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
void swap(int &a,int &b)
|
||||
{
|
||||
int c=a;
|
||||
a=b;
|
||||
b=c;
|
||||
}
|
||||
int main()
|
||||
{
|
||||
int a,b;
|
||||
scanf("%d%d",&a,&b);
|
||||
swap(a,b);
|
||||
printf("%d %d\n",a,b);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user