题解 2772: 苹果和虫子

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

苹果和虫子 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……

苹果和虫子C语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y;  int d;    float c;    scanf("%d %d %d",&n,&……