普通程序猿、文艺程序猿、二逼程序猿 -___-||||
跟风发个这种蛋疼文体。
普通程序员
void swap(int &a,int &b)
{
int temp;
temp=a;
a=b;
b=temp;
}
文艺程序员
void swap(int &a,int &b)
{
a=a^b;
b=a^b;
a=a^b;
}
2B程序员
void swap(int a,int b)
{
int temp;
temp=a;
a=b;
b=temp;
}
普通程序员
void swap(int &a,int &b)
{
int temp;
temp=a;
a=b;
b=temp;
}
文艺程序员
void swap(int &a,int &b)
{
a=a^b;
b=a^b;
a=a^b;
}
2B程序员
void swap(int a,int b)
{
int temp;
temp=a;
a=b;
b=temp;
}
