编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[20],b[20]; int n,m; …… 题解列表 2022年03月13日 0 点赞 0 评论 425 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct date{ int year; int month; int …… 题解列表 2022年03月13日 0 点赞 0 评论 438 浏览 评分:0.0
1729: 还是畅通工程(Kruskal) java写法 摘要:[https://www.dotcpp.com/oj/problem1729.html](https://www.dotcpp.com/oj/problem1729.html) - 思路: …… 题解列表 2022年03月13日 0 点赞 0 评论 454 浏览 评分:0.0
快速排序!!! 摘要:```cpp #include using namespace std; const int L = 100000 + 2; int q[L]; int n; void quick_s…… 题解列表 2022年03月13日 0 点赞 0 评论 493 浏览 评分:0.0
素数判断小小加强写法 摘要:解题思路:1、输入数字小于2直接退出2、大于2直接输出2,为了后面来判断的数字都是基数做个小铺垫,应为偶数不可能是素数嘛3、比较范围上限用根号更好节省时空注意事项:参考代码:#include<iost…… 题解列表 2022年03月13日 0 点赞 0 评论 456 浏览 评分:0.0
归并排序!!! 摘要:```cpp #include using namespace std; const int L = 100000 + 2; int q[L]; int tmp[L]; int n; …… 题解列表 2022年03月13日 0 点赞 0 评论 601 浏览 评分:0.0
蓝桥杯2018年第九届真题-递增三元组 摘要:将a从大到小排序,将c从小到大排序找到a中第一个比b小的数,那么剩下的n - i都符合c同理参考代码:#include<iostream> #include<bits/stdc++.h> usin…… 题解列表 2022年03月13日 0 点赞 0 评论 626 浏览 评分:0.0
1205: 字符串的修改 C++ 动态规划 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string s1; string s2; int L1,L2; …… 题解列表 2022年03月14日 0 点赞 0 评论 444 浏览 评分:0.0
编写题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int count=0; in…… 题解列表 2022年03月14日 0 点赞 0 评论 465 浏览 评分:0.0
编写题解 1055: 二级C语言-进制转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0; scanf("%d",&n); printf("%o",n); ret…… 题解列表 2022年03月14日 0 点赞 0 评论 414 浏览 评分:0.0