编写题解 3016: 第几项 摘要:#include<bits/stdc++.h>using namespace std;int main(){int m,sum=0,i=0;cin>>m;while(sum<m){i++;sum+=i…… 题解列表 2024年05月13日 0 点赞 0 评论 449 浏览 评分:0.0
无敌简单求大整数减法 摘要:解题思路:输入字符串逆序转化为数字后存放在数组中,数组先相减后判断,小于0加10,前一位减1.逆序输出注意事项:要先计算后判断,容易被覆盖参考代码:#include<iostream>#include…… 题解列表 2024年05月13日 0 点赞 0 评论 471 浏览 评分:0.0
二级C语言-阶乘数列 摘要:解题思路:数据类型 double注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { …… 题解列表 2024年05月13日 1 点赞 0 评论 460 浏览 评分:0.0
编写题解 2809: 菲波那契数列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[1000],k;cin>>k;a[0]=1;a[1…… 题解列表 2024年05月12日 0 点赞 0 评论 353 浏览 评分:0.0
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout <<"Hello, World!"; return …… 题解列表 2024年05月12日 0 点赞 0 评论 638 浏览 评分:9.9
编写题解 2883: 矩阵加 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=101;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 334 浏览 评分:0.0
2883: 矩阵加法 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 334 浏览 评分:0.0
编写题解 2878: 计算矩阵边缘元素之 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 351 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 446 浏览 评分:0.0
写题解 2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 401 浏览 评分:0.0