更适合c++的奇偶排序 摘要:解题思路:两个数组,一个存储,一个变化注意事项:参考代码:#include <iostream>#include <algorithm>using namespace std;int main() {…… 题解列表 2023年06月15日 0 点赞 0 评论 397 浏览 评分:9.9
图·一乐2 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; cin…… 题解列表 2023年06月15日 0 点赞 0 评论 423 浏览 评分:0.0
图·一乐 摘要:解题思路:注意事项:纯属享受sort的便利参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ in…… 题解列表 2023年06月15日 0 点赞 0 评论 363 浏览 评分:9.9
小白写法,代码虽然长了点,但是很容易理解 摘要:*代码里面有注释* ------------ ```cpp #include using namespace std; typedef long long ll; ll facto…… 题解列表 2023年06月15日 0 点赞 1 评论 815 浏览 评分:7.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[7][2],i,j,b[7],max,max_sign; for (i = 0; i <…… 题解列表 2023年06月15日 0 点赞 0 评论 289 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str…… 题解列表 2023年06月15日 0 点赞 0 评论 290 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-等差数列 摘要:解题思路:将n个数排序后找到他们的相邻数之间的差,然后在找公差之间的最大公约数,这个数就是公差注意事项:题目中有一个公差为0的答案所以要特判一下参考代码:#include<bits/stdc++.h>…… 题解列表 2023年06月15日 0 点赞 0 评论 353 浏览 评分:0.0
简单解法,小白做的 自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201];//注意范围 int i; …… 题解列表 2023年06月14日 0 点赞 0 评论 349 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int length=1189, width=841,i,line; …… 题解列表 2023年06月14日 0 点赞 0 评论 318 浏览 评分:0.0
三个数的排序 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;import java.util.Arrays;public class Main { public st…… 题解列表 2023年06月14日 0 点赞 0 评论 300 浏览 评分:0.0