苹果和虫子C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y; int d; float c; scanf("%d %d %d",&n,&…… 题解列表 2022年11月05日 0 点赞 0 评论 1132 浏览 评分:8.0
2772:苹果与虫子 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y; scanf("%d%d%d",&n,&x,&y); if(y%x==0) prin…… 题解列表 2022年12月07日 0 点赞 0 评论 1263 浏览 评分:9.9
苹果和虫子 C语言 三步搞定 摘要:解题思路:简单数学问题,公式一套ok注意事项:输入格式注意空格,输出公式即可参考代码:#include<stdio.h>int main(){ int n,x,y; scanf("%d %…… 题解列表 2022年12月31日 0 点赞 0 评论 1144 浏览 评分:2.9
用一个选择语句即可 摘要:解题思路:注意事项:要考虑整个苹果没吃完的情况参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y; scanf("%d %d %d"…… 题解列表 2023年01月16日 0 点赞 0 评论 518 浏览 评分:0.0
ikun崩溃代码 摘要:解题思路:套用if函数判定小数部分舍去,不构成完整的苹果。注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y,z; scanf("%d %d %d",…… 题解列表 2023年01月31日 0 点赞 0 评论 470 浏览 评分:0.0
解法有很多,多思考进步才会大 摘要:解题思路:注意事项:参考代码: int n,x,y,s,c; scanf("%d %d %d",&n,&x,&y); //如果经过y时间%吃一个苹果所需时间x==0 //证明说经过的时间刚好…… 题解列表 2023年02月27日 0 点赞 0 评论 541 浏览 评分:0.0
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, x, y; int a = 0; scanf("%d %d %d", &n, &x, &y); i…… 题解列表 2023年03月01日 0 点赞 0 评论 544 浏览 评分:0.0
我从不知何为败北,因为我家GeiGei无所畏惧,西内! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,y; scanf("%d%d%d", &n, &x, &y); float a…… 题解列表 2023年06月01日 0 点赞 0 评论 732 浏览 评分:9.9
苹果和虫子 摘要:```c #include int main() { int x,y,n,a; scanf("%d %d %d",&n,&x,&y); a=n-(y/x); …… 题解列表 2023年07月22日 0 点赞 0 评论 653 浏览 评分:2.0
ceil和类型转换解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y; double m; scanf("%d%…… 题解列表 2023年07月28日 0 点赞 0 评论 545 浏览 评分:0.0