题解 2806: 人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x,n; cin>>x>>n; …… 题解列表 2024年01月10日 1 点赞 0 评论 366 浏览 评分:9.9
题解 2797 最高的分数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx=0 , n; cin>>n…… 题解列表 2024年01月10日 0 点赞 0 评论 268 浏览 评分:9.9
题解 2798整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,maxx=0,minn=INT_MAX;…… 题解列表 2024年01月10日 0 点赞 0 评论 318 浏览 评分:9.9
指针数组的方式求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number, total = 0; int *p; scanf("%d", &numbe…… 题解列表 2024年01月11日 0 点赞 0 评论 480 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int fmax,maxs=0,…… 题解列表 2024年01月11日 0 点赞 0 评论 374 浏览 评分:9.9
写题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;double x,y,d,d1;cin>>n>>x…… 题解列表 2024年01月11日 0 点赞 0 评论 269 浏览 评分:9.9
更相减损法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,z,a; scanf("%d %d",&x,&y); a = x*y; …… 题解列表 2024年01月11日 0 点赞 0 评论 277 浏览 评分:9.9
2810: 鸡尾酒疗法 摘要:解题思路:本题主要考察对循环的熟练度和对题干的理解力注意事项:循环中i的循环次数为:i<=n-1,不是n better,worse,same不要拼错(别问我为什么要写这个,…… 题解列表 2024年01月11日 0 点赞 0 评论 416 浏览 评分:9.9
题解 2816: 统计满足条件的4位数个数(精心制作,给个好评吧) 摘要:解题思路:先定义出个数,再用if语句和for循环来表达题意,以下是参考代码;注意事项:在定义时,最好定义成浮点型,不然后面处理强转很麻烦;变量尽量少定义,不建议用第2种方法;参考代码:方法一:#inc…… 题解列表 2024年01月11日 0 点赞 0 评论 294 浏览 评分:9.9
题解 2810: 鸡尾酒疗法(精心制作,给个好评吧) 摘要:原题链接:鸡尾酒疗法解题思路:本题主要考察对循环的熟练度和对题干的理解力注意事项:循环中i的循环次数为:i<=n-1,不是n better,worse,same不要拼错(别…… 题解列表 2024年01月11日 1 点赞 0 评论 590 浏览 评分:9.9