指针/引用练习之交换数字 摘要:参考代码: ```c #include void swap(int *a,int *b) { int t=*a;//传递过去的是指针,要解析出指向的值,再交换 *a=*b;…… 题解列表 2023年10月26日 0 点赞 0 评论 478 浏览 评分:0.0
不容易系列2 摘要:解题思路:注意事项:参考代码:#递归写法def f(x): if x ==1 : return 0 elif x == 2: return 1 else…… 题解列表 2023年10月26日 0 点赞 0 评论 528 浏览 评分: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 评论 436 浏览 评分:0.0
四种方式进行字符串的倒叙输出 摘要:#define _CRT_SECURE_NO_WARNINGS #include #include #include //int main() {` // char s[50]; // …… 题解列表 2023年10月26日 0 点赞 0 评论 549 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:double sqrt(double x)float sqrtf(float x)long double sqrtl(long double x)注意事项:参考代码:#include<std…… 题解列表 2023年10月26日 0 点赞 0 评论 445 浏览 评分:0.0
2080: 蓝桥杯基础练习-十六进制转八进制 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2023年10月26日 0 点赞 0 评论 435 浏览 评分:0.0
2082: 蓝桥杯基础练习-十六进制转十进制 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { long long int num; …… 题解列表 2023年10月26日 0 点赞 0 评论 599 浏览 评分:0.0
2182: [编程入门]打印图案 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { cout<<" * "<<endl; …… 题解列表 2023年10月26日 0 点赞 0 评论 582 浏览 评分:0.0
2096: 打印平行四边形 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2023年10月26日 0 点赞 0 评论 476 浏览 评分:0.0
2097: 单词得分---全转换为大写比较加分 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月26日 0 点赞 0 评论 526 浏览 评分:0.0