小白,看看就行,不动脑袋 摘要:解题思路:注意事项:参考代码:小白菜鸟写的,看看就好#include<iostream>using namespace std;int main(){ int arr[1000]; int…… 题解列表 2024年11月06日 0 点赞 0 评论 103 浏览 评分:0.0
STL中有swap交换(无需手搓) 摘要:#include<bits/stdc++.h> using namespace std; const int N=1010; int a[N]; int main() { int n,m…… 题解列表 2024年08月04日 0 点赞 0 评论 87 浏览 评分:0.0
蓝桥杯算法提高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 评论 127 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy (C++代码) 摘要:#include<iostream> using namespace std; int main(){ int n,m,a[1000],x,y; cin>>n>>m; …… 题解列表 2017年12月18日 1 点赞 0 评论 1059 浏览 评分:0.0
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,w=1; int t; int i,j; int x,y; sca…… 题解列表 2022年12月02日 0 点赞 0 评论 122 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy (C++代码) 摘要:#include <iostream> #include <fstream> #include <deque> #include <cstdlib> #include <string> #i…… 题解列表 2018年03月02日 0 点赞 0 评论 632 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1005; int a[M]={0}; int main(…… 题解列表 2018年04月01日 0 点赞 0 评论 575 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy (C语言代码) 摘要:解题思路:注意事项:菜鸟一枚,乱写代码,将就着看。参考代码: #include<stdio.h>int main(){ int a[1001]; int n, m, i, t, b, c, d = 0…… 题解列表 2019年02月13日 0 点赞 0 评论 403 浏览 评分:0.0
蓝桥杯算法提高VIP-交换Easy (C语言代码) 摘要:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); int a[n],b[m][2],t; int i,j; for(i=0;i<n;…… 题解列表 2019年02月14日 0 点赞 0 评论 520 浏览 评分:0.0