编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,i,num,result; scanf("%d",&i); if(i>=0 &…… 题解列表 2022年11月21日 0 点赞 0 评论 222 浏览 评分:0.0
编写题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,num=1,result; scanf("%d",&n); for(i=1;i<n;++i…… 题解列表 2022年11月21日 0 点赞 0 评论 253 浏览 评分:0.0
编程入门-求和训练 摘要: 注意for循环的 表达式2 用|| 而不是&& 只要还有一个没满足 就继续循环下去 参考代码:#include<stdio.h> int main(){ int a; int b; i…… 题解列表 2022年11月21日 0 点赞 0 评论 188 浏览 评分:0.0
编写题解 2998: 电影票 摘要:解题思路:注意事项:参考代码: int a; scanf("%d",&a); printf("%d %d",a,a*10);…… 题解列表 2022年11月21日 0 点赞 0 评论 434 浏览 评分:0.0
编写题解 2181: 信息学奥赛一本通T1005-地球人口承载力估计 摘要:解题思路:注意事项:参考代码: int x, a, y, b; float z = 0; scanf("%d %d %d %d", &x, &a, &y, &b) 题解列表 2022年11月21日 0 点赞 0 评论 465 浏览 评分:0.0
编写题解 1809: [编程基础]输入输出练习之精度控制2 摘要:解题思路:注意事项:参考代码: double d; scanf("%lf", &d); printf("%.12f", d);…… 题解列表 2022年11月21日 0 点赞 0 评论 327 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,i,num,result; scanf("%d",&i); if(i>=0 &…… 题解列表 2022年11月21日 0 点赞 0 评论 212 浏览 评分:0.0
编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int M,result; scanf("%d",&M); if(M>=0 && M<=100000) resu…… 题解列表 2022年11月22日 0 点赞 0 评论 225 浏览 评分:0.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,bei,j; int yue=0; scanf("%d%d",&a,&b); for(bei=1…… 题解列表 2022年11月22日 0 点赞 0 评论 191 浏览 评分:0.0
1279: [NOIP2008T2]火柴棒等式 摘要:```python number = {0:6, 1:2, 2:5, 3:5, 4:4, 5:5, 6:6, 7:3, 8:7, 9:6} counts =0 def f(inte): …… 题解列表 2022年11月22日 0 点赞 0 评论 348 浏览 评分:0.0