2880: 计算鞍点 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ fo…… 题解列表 2023年07月22日 0 点赞 0 评论 394 浏览 评分:0.0
2836: 数组逆序重放(C语言) 摘要:###第一种 #include int main() { int n; scanf("%d",&n); int a[n]; for(int i=0;i=0;i-…… 题解列表 2023年07月22日 0 点赞 0 评论 429 浏览 评分:0.0
[编程基础]输入输出练习之浮点数专题 摘要:```c #include int main() { double a; scanf("%lf",&a); printf("%f\n%.5f\n%e\n%g",a,a,a,a)…… 题解列表 2023年07月22日 0 点赞 0 评论 449 浏览 评分:0.0
1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sum(long long n){ long long …… 题解列表 2023年07月22日 0 点赞 0 评论 341 浏览 评分:0.0
2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long mymax(long long x,long long y,l…… 题解列表 2023年07月22日 0 点赞 0 评论 421 浏览 评分:0.0
2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sushu(long long x){ if(x<2) …… 题解列表 2023年07月22日 0 点赞 0 评论 535 浏览 评分:0.0
2837: 年龄与疾病(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; for(int i=0;i…… 题解列表 2023年07月22日 0 点赞 0 评论 458 浏览 评分:0.0
[编程入门]自定义函数之数字后移-简单方法 摘要:解题思路:通过将后m位赋值给一个新数组b的前m-1位,在将数组剩余的前n-m赋值给新数组的后m位注意事项:注意j的值参考代码:#include<stdio.h>int main(){ int a[10…… 题解列表 2023年07月22日 0 点赞 0 评论 437 浏览 评分:0.0
2778: 判断数正负 摘要:```c #include int main() { int n; scanf("%d",&n); if(n>0) printf("positive");…… 题解列表 2023年07月23日 0 点赞 0 评论 447 浏览 评分:0.0
超级楼梯使用动态规划算法,C++实现! 摘要:# 动态规划 ```c++ #include #include using namespace std; const int N = 100010; int n, m; int…… 题解列表 2023年07月23日 0 点赞 0 评论 527 浏览 评分:0.0