题解 1971: 外出旅游

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

筛选

题解 1971: 外出旅游(Java)

importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerin=newScanner(System.in);intf,m,x,p,d=0;/*f为水果个数m为总钱数x为每天的租金p为水果售价*/f

1971: 外出旅游(C语言)

摘要:解题思路:方便理解,循环处理注意事项:参考代码:#include <stdio.h> int main() {     int f;      // 水果数     int m;      ……

外出旅游(超详细容易理解版)

摘要:解题思路:看如下代码的注释注意事项:我都写的那么详细了不给个5星好评?参考代码:#include<stdio.h>int main(){    int a,b,c,d;    int i;      ……

外出旅行,python

摘要:解题思路:注意事项:参考代码:f,m,x,p=map(int,input().split())count=0while m>x+p:    if f!=0:        f-=1        m-……