标签:
代码:
#include<cstdio> #include<iostream> using namespace std; int main(){ int n; cin>>n; cout<<(n/100)<<endl; n=n%100; cout<<(n/50)<<endl; n=n%50; cout<<(n/20)<<endl; n=n%20; cout<<(n/10)<<endl; n=n%10; cout<<(n/5)<<endl; n=n%5; cout<<n; }
刷水题的快感(づ ̄ 3 ̄)づ
标签:
原文地址:http://www.cnblogs.com/liuxinyu/p/5388441.html