if(g==s && g==b)printf("%d",g* 100+s*10+b);
if(g == s && g == b) printf("%d",b*100+s*10 +g);
g==s && s==b
g*100+s*10+b
有帮助望采纳