A. Hit the Lottery

A. Hit the Lottery_第1张图片

#include
using namespace std;
const int N=1e5+5;
int n,a[N],res;
int main(){
	scanf("%d",&n);
	int a=n/100;
	n%=100;
	int b=n/20;
	n%=20;
	int c=n/10;
	n%=10;
	int d=n/5;
	n%=5;
	int e=n;
	cout<

 

你可能感兴趣的:(codeforces,算法,c++,数据结构)