1332: 津津的储蓄计划 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12];//每个月的预算 int i; for(i=0;i<12;i++) { scanf("%…… 题解列表 2023年08月03日 0 点赞 1 评论 284 浏览 评分:4.7
函数求整数平均值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ave(int a[],int n){ int sum=0; for(int…… 题解列表 2023年08月07日 0 点赞 0 评论 339 浏览 评分:4.7
信息学奥赛一本通T1347-格子游戏 摘要:```cpp #include using namespace std; const int MAXN=5e6; int Father[MAXN]; int n,m,x,y; …… 题解列表 2023年08月28日 0 点赞 0 评论 577 浏览 评分:4.7
题解 2544: N以内累加求和 摘要:解题思路:把N以内的每一个数(循环变量i)一个一个加到同一个变量(s),变量(s)一开始需要赋初始值0;编程步骤:1、创建2个int类型的变量n、s=0;2、输入一个整数n;3、for循环遍历(1~n…… 题解列表 2023年10月30日 0 点赞 0 评论 233 浏览 评分:4.7
2784收集瓶盖赢大奖题解 (c++) 摘要:#include using namespace std; int main(){ int a; int b; cin>>a>>b; if (a>=10){ cout…… 题解列表 2023年11月02日 0 点赞 0 评论 214 浏览 评分:4.7
判断是否为两位数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; if(a>=10 &&…… 题解列表 2023年11月13日 0 点赞 4 评论 414 浏览 评分:4.7
2812: 球弹跳高度的计算 摘要:解题思路:注意事项:令人忍俊不禁参考代码:height=float(input())sum=-heightsum=float(sum)for i in range(1,11): sum=sum+…… 题解列表 2023年11月20日 0 点赞 0 评论 488 浏览 评分:4.7
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>>x…… 题解列表 2023年11月30日 0 点赞 0 评论 200 浏览 评分:4.7
LJX............................................................... 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,a,b,sum=0,ans=0; cin>>…… 题解列表 2023年12月06日 0 点赞 0 评论 153 浏览 评分:4.7
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(int n){ scanf("%d",&n); int a[n][n],i,j; for(i=0;i<…… 题解列表 2023年12月15日 0 点赞 0 评论 240 浏览 评分:4.7