1. #include <iostream.h> void main() { int a[6]; a[5]=0; for(a[0]=1;a[0]<10;a[0]++) for(a[1]=0;a[1]<10;a[1]++) for(a[2]=0;a[2]<10;a[2]++) for(a[3]=0;a[3]<10;a[3]++) for(a[4]=0;a[4]<10;a[4]++) if(((a[0]+a[1]+a[2]+a[3]+a[4])%3==0)&&((a[0]==6)||(a[1]==6)||(a[2]==6)||(a[3]==6)||(a[4]==6))) { a[5]++; cout<<a[0]<<a[1]<<a[2]<<a[3]<<a[4]<<" "<<a[5]<<endl;
} }
/sign.png" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www./sign.png');}" onmousewheel="return imgzoom(this);" alt="" />