2772: 苹果和虫子 摘要:解题思路:每x小时吃掉1个苹果,n个苹果nx小时,nx-y是未吃掉的苹果的用时,(nx-y)/x是剩下的苹果。注意事项:都是提交成功过的,可以直接使用。参考代码:#include<iostrea…… 题解列表 2026年05月23日 0 点赞 0 评论 63 浏览 评分:0.0
苹果和虫子 摘要:#include<iostream>using namespace std;int main(){ int n,z,k; double x,y,a; cin>>n>>x>>y; a=y/x; k=0;…… 题解列表 2024年03月10日 0 点赞 0 评论 457 浏览 评分:0.0
编写题解 2772: 苹果和虫子 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin >>n>>x>>y; y…… 题解列表 2024年01月06日 0 点赞 0 评论 391 浏览 评分:0.0
苹果与虫子题解 摘要:解题思路:无注意事项:if那里要写两个等于号哦参考代码:#include<iostream>using namespace std;int main(){ int x,y,n; cin>>n>…… 题解列表 2023年10月22日 0 点赞 0 评论 443 浏览 评分:0.0
2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月31日 0 点赞 0 评论 370 浏览 评分:0.0
2772: 苹果和虫子 摘要:```cpp #include #include using namespace std; int main() { int n; double x, y; …… 题解列表 2023年11月22日 0 点赞 0 评论 361 浏览 评分:0.0
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>>x…… 题解列表 2023年11月30日 0 点赞 0 评论 406 浏览 评分:4.7
苹果和虫子(超简单) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n, x, y; cin >> n >> x >>…… 题解列表 2022年11月05日 0 点赞 0 评论 599 浏览 评分:6.0
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y,n; cin>>n>>x>>y; i…… 题解列表 2023年11月26日 0 点赞 0 评论 340 浏览 评分:9.9
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){float n, x, y, s;cin …… 题解列表 2023年12月23日 0 点赞 0 评论 425 浏览 评分:9.9