睡吧睡吧睡吧睡吧睡吧睡吧

郑震云  •  1个月前


include <stdio.h>

int main() {

int a, b, c, d, e, f, g, h, n, s;
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;
s = a + c + e + g ;
printf("%d", s);
return 0;

}


评论:

请先登录,才能进行评论