标签:
1
1
#include<stdio.h> //#include<bits/stdc++.h> #include<string.h> #include<iostream> #include<math.h> #include<sstream> #include<set> #include<queue> #include<map> #include<vector> #include<algorithm> #include<limits.h> #define inf 0x3fffffff #define INF 0x3f3f3f3f #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 #define LL long long #define ULL unsigned long long using namespace std; int main() { int n,a,b,c; while(cin>>n) { a=n%20; b=a%10; c=b%5; cout<<n/20+a/10+b/5+c<<endl; } return 0; }
标签:
原文地址:http://www.cnblogs.com/yinghualuowu/p/5005269.html