[编程入门]自定义函数之字符提取 摘要:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char in[1000],out[1000]="…… 题解列表 2022年08月05日 0 点赞 0 评论 459 浏览 评分:9.9
C# 1268: 第K极值 摘要:```cpp #include using namespace std; int n,k,a[10005]; int m; bool fun(int x){ int j=0; if …… 题解列表 2022年08月04日 0 点赞 0 评论 479 浏览 评分:0.0
蓝桥杯算法提高VIP-选择排序 摘要::bowtie:: 简单选择排序应该算是基本的排序算法了吧,下面代码中有详细说明代码此算法的过程,如果大家还是看不明白的话,可以去B站上搜索王道《数据结构》的视频看一下,我觉得它讲的还是很通俗易懂…… 题解列表 2022年08月04日 0 点赞 0 评论 532 浏览 评分:9.0
#C++1240——生日日数 摘要:思路参考注释参考代码:#include <iostream> using namespace std; int arr[]={0,31,28,31,30,31,30,31,31,30,31,30,…… 题解列表 2022年08月04日 0 点赞 0 评论 541 浏览 评分:0.0
[编程入门]自定义函数处理素数 摘要:注意事项:本题很容易超时,用cmath库里的sqrt函数来求循环终止数可以避免超时以下为c++代码参考代码:#include<iostream>#include<cmath>using namespa…… 题解列表 2022年08月04日 0 点赞 0 评论 447 浏览 评分:9.9
[编程入门]自定义函数求一元二次方程 摘要:参考代码:#include<iostream>#include<iomanip>#include<cmath>using namespace std;double x1,x2,a,b,c,z;void…… 题解列表 2022年08月04日 0 点赞 0 评论 526 浏览 评分:9.9
C# 编写题解 1227: 日期排序(setw setfill) 摘要:```cpp #include using namespace std; int a,b,c,e,num[1005]; char d; int main() { while(cin>>…… 题解列表 2022年08月04日 0 点赞 0 评论 554 浏览 评分:9.0
数列极差(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int cmp(int a,int b){ retur…… 题解列表 2022年08月04日 0 点赞 0 评论 924 浏览 评分:7.0
[编程入门]自定义函数处理最大公约数与最小公倍数(c++版) 摘要:参考代码:#include<iostream>using namespace std;int zd(int a,int b){ int r; while(r=a%b) { …… 题解列表 2022年08月04日 0 点赞 0 评论 607 浏览 评分:9.9
#C++1227——日期排序(结构体,sort) 摘要:参考代码:#include<iostream> #include <algorithm> #include <iomanip> using namespace std; typedef str…… 题解列表 2022年08月04日 0 点赞 0 评论 779 浏览 评分:9.9