当前位置:网站首页>Deux nombres se remplacent
Deux nombres se remplacent
2022-07-05 00:12:00 【Sunyin. Liu】
#include <stdio.h>
void swap(int a, int b);
int main(){
int a = 5;
int b = 6;
// printf("a=%d,b=%d\n",a,b);
printf("a=%d,b=%d\n",a,b);
swap(a,b);
return 0;
}
void swap(int a,int b){
a = a ^ b;
b = a ^ b;
a = a ^ b;
printf("a=%d,b=%d\n",a,b);
}
边栏推荐
- ORB(Oriented FAST and Rotated BRIEF)
- If you open an account of Huatai Securities by stock speculation, is it safe to open an account online?
- abc 258 G - Triangle(bitset)
- URLs and URIs
- Netcore3.1 JSON web token Middleware
- [monitoring] ZABBIX
- PMP certificate renewal process
- Detailed explanation of openharmony resource management
- In the enterprise, win10 turns on BitLocker to lock the disk, how to back up the system, how to recover when the system has problems, and how to recover quickly while taking into account system securi
- 《论文笔记》Multi-UAV Collaborative Monocular SLAM
猜你喜欢
[paper reading] Tun det: a novel network for meridian ultra sound nodule detection
ORB(Oriented FAST and Rotated BRIEF)
Tester's algorithm interview question - find mode
Netcore3.1 JSON web token Middleware
Using fast parsing intranet penetration to realize zero cost self built website
Power operation and maintenance cloud platform: open the new mode of "unattended and few people on duty" of power system
URLs and URIs
P3304 [sdoi2013] diameter (diameter of tree)
【雅思阅读】王希伟阅读P4(matching1)
Summer challenge brings you to play harmoniyos multi terminal piano performance
随机推荐
Summary of week 22-07-02
[path planning] RRT adds dynamic model for trajectory planning
实战模拟│JWT 登录认证
企业公司项目开发好一部分基础功能,重要的事保存到线上第一a
使用快解析搭建自己的minecraft服务器
[论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection
[paper reading] cavemix: a simple data augmentation method for brain vision segmentation
圖解網絡:什麼是網關負載均衡協議GLBP?
The pit of sizeof operator in C language
Data on the number of functional divisions of national wetland parks in Qinghai Province, data on the distribution of wetlands and marshes across the country, and natural reserves in provinces, cities
JS how to realize array to tree
P3304 [sdoi2013] diameter (diameter of tree)
人生无常,大肠包小肠, 这次真的可以回家看媳妇去了。。。
Upload avatar on uniapp
IT转测试岗,从迷茫到坚定我究竟付出了什么?
[Peking University] tensorflow2.0-1-opening
Basic points of the game setup of the points mall
[论文阅读] CarveMix: A Simple Data Augmentation Method for Brain Lesion Segmentation
基本放大电路的学习
Actual combat simulation │ JWT login authentication