交换 a b 的值(不增加新的变量) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); a=a^b; b=a^b…… 题解列表 2023年02月05日 0 点赞 0 评论 197 浏览 评分:0.0
3000: 交换值 摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cout…… 题解列表 2023年01月08日 0 点赞 0 评论 430 浏览 评分:9.0
交换值(超简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",b,…… 题解列表 2022年12月29日 0 点赞 1 评论 606 浏览 评分:8.4
基础入门)交换值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",b,…… 题解列表 2022年11月20日 0 点赞 0 评论 336 浏览 评分:7.3
编写题解 3000: 交换值 摘要:解题思路:直接交换输出注意事项:参考代码:int a,b; scanf("%d %d",&a,&b); printf("%d %d",b,a);…… 题解列表 2022年11月14日 0 点赞 0 评论 248 浏览 评分:2.0
2000:交换值代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>void fun(int *p,int *q);int main(){ int m,n; …… 题解列表 2022年11月05日 0 点赞 0 评论 583 浏览 评分:9.3