#include<stdio.h>
#include<math.h>
int main()
{int x,y,z,n=0;
for(x=5;x<=100;x+=5)
for(y=5;y<=50;y+=5)
for(z=5;z<=20;z+=5)
if(x+2*y+5*z==100)
n+=1;
printf("%d\n",n);
}
一叶追寻
相关分类