帮忙看看我这个错哪里了
#include<iostream.h>void main ()
{
int a,b,c;
for (a=1;a<=19;a++)
for (b=1;b<=33;b++)
for (c=1;c<=97;c+=3)
if( a+b+c==100 && 5*a+3*b+c/3==100 )
cout<<a<<" "<<b<<" "<<c<<" "<<endl;
}
2011-10-27 21:04
2011-10-27 21:10
2011-10-28 07:56