来源:https://zhuanlan.zhihu.com/p/268734569 评论区
#include <iostream>
using namespace std;
int main()
{
int a = 1;
int b = 10;
a = a + b - (b = a);
cout<<a<<endl;
cout<<b<<endl;
}
来源:https://zhuanlan.zhihu.com/p/268734569 评论区
#include <iostream>
using namespace std;
int main()
{
int a = 1;
int b = 10;
a = a + b - (b = a);
cout<<a<<endl;
cout<<b<<endl;
}