0
已解决
杨陈卓
新手天翼
新手天翼
#include<iostream>
using namespace std;
int main()
{
int a,b,c,d,e;
cin>>a;
b=a*0.3,c=a*0.7,d=a*0.5,e=a*0.5;
if(a<10000)
cout<<a/25<<" "<<0<<endl<<a%25<<endl;
if(a>=10000&&a<100000)
cout<<b/25<<" "<<c/40<<endl<<b%25+c%40<<endl;
if(a>=100000)
cout<<d/25<<" "<<e/40<<endl<<d%25+e%40<<endl;
return 0;
}