小白也能看懂 摘要:解题思路:循环输入数组里的数据,里面设置一个空的变量t,用t来负责交换值,最后将数组按顺序输出即可注意事项:无参考代码:#include<stdio.h>int main(){ int N,M,…… 题解列表 2024年03月25日 0 点赞 0 评论 590 浏览 评分:9.9
蓝桥杯算法提高VIP-交换Easy 摘要:参考代码: ```c #include int main() { int n,m; scanf("%d%d",&n,&m); int a[n],x=0,y=0; for(int…… 题解列表 2023年10月26日 0 点赞 0 评论 454 浏览 评分:0.0
1491: 蓝桥杯算法提高VIP-交换Easy——Ccp 摘要:解题思路:注意事项:参考代码:int main(){ int N,M; int num[1000]; int i,j; int sw[1000][2]; scanf("%d %d",&N,&M); f…… 题解列表 2023年03月09日 0 点赞 0 评论 666 浏览 评分:9.9
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,w=1; int t; int i,j; int x,y; sca…… 题解列表 2022年12月02日 0 点赞 0 评论 470 浏览 评分:0.0
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n; int t; int i,j; int x,y; scanf("…… 题解列表 2022年12月02日 0 点赞 0 评论 404 浏览 评分:0.0
AAA超简单 蓝桥杯算法提高VIP-交换Easy(C语言) 摘要:解题思路:数存入数组,利用t=a;a=b;b=t进行数据交换,利用三个循环注意事项:参考代码#include<stdio.h>void main(){ int N,M; int b,c,i,t; sc…… 题解列表 2022年01月09日 0 点赞 0 评论 571 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int n, m, x, y, i, t; int N[1000]; scanf("…… 题解列表 2021年12月28日 0 点赞 0 评论 544 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:_ueditor_page_break_tag_#include<stdio.h>int main(){ int N,M,x,y,i,j,a[1001]; s…… 题解列表 2021年02月17日 0 点赞 0 评论 637 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy-题解(C语言代码)水就完事了 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2021年01月08日 0 点赞 0 评论 614 浏览 评分:6.7
蓝桥杯算法提高VIP-交换Easy-题解(C语言代码)【充分利用空间】 摘要:解题思路:注意事项:参考代码:#include<malloc.h> #include<stdio.h> int main() { int N, M,*p1,i = 0,*p[2],t; …… 题解列表 2020年12月26日 0 点赞 3 评论 1326 浏览 评分:9.0