Create 1725_****090114.c

This commit is contained in:
KiritoTRw 2016-04-28 08:43:00 +08:00
parent 296ba95807
commit e18fa3cbda

13
QUSTOJ/1725_****090114.c Normal file
View File

@ -0,0 +1,13 @@
#include <stdio.h>
int main()
{
int g,m,c;
for(g=0;g<21;++g)
for(m=0;m<35;m++)
for(c=0;c<100;c+=3)
if(g*5+m*3+c/3==100&&g+m+c==100)
printf("%d\t%d\t%d\n",g,m,c);
return 0;
}