2772: 苹果和虫子
摘要:```cpp
#include
using namespace std;
int main()
{
int x,y,n;
cin>>n>>x>>y;
if(y%x……
苹果和虫子 C语言 三步搞定
摘要:解题思路:简单数学问题,公式一套ok注意事项:输入格式注意空格,输出公式即可参考代码:#include<stdio.h>int main(){ int n,x,y; scanf("%d %……
2772:苹果与虫子
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y; scanf("%d%d%d",&n,&x,&y); if(y%x==0) prin……
2772: 苹果和虫子
摘要:解题思路:注意事项:参考代码:import mathn, x, y = map(int,input().strip().split())print(math.floor(n - y / x)) ……
苹果和虫子(超简单)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n, x, y; cin >> n >> x >>……