题解 1197: 发工资咯

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

筛选

发工资咯!(python代码,思路清晰)

摘要:解题思路:注意事项:    数据需要横向输入参考代码:b = 0money = 0sum1 = 0sum2 = 0while True:             # 输入数据,必须要横向输入    a……

发工资咯(Java题解+递归+数组)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {    // 定义人民币面额数组    static int[] denomina……

发工资咯 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ int n,t; while(cin>>n&&n){……

发工资咯(动态规划)

摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; //如果发101元,有6种情况: //1.f(101)=f(101-1)+1 /……

一看就懂的简单代码

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[6]={100,50,10,5,2,1};int main(……

Python代码,大道至简

摘要:解题思路:注意事项:参考代码:while True:    n = list(map(int,input().split()))    if n[0] == 0:        exit(0)    ……

1197: 发工资咯

摘要:#include<iostream> using namespace std; int main(){     int a[]={100,50,10,5,2,1};     int n,mon……

1197: 发工资咯

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int Dno[6]={100,50,10,5,2,1};//面额大小 int su……