答案,傻子都会

周睿  •  1个月前


include <stdio.h>

int main() {

int a, b, c, d, e, f, g, h, n, k;
scanf("%d", &n);
a = n / 20;
b = n % 20;
c = b / 10;
d = b % 10;
e = d / 5;
f = d % 5;
g = f / 1;
h = f % 1;
k = a + c + e + g;
printf("%d", k);
return 0;

}


评论:

请先登录,才能进行评论