组合 结果为什么输不出?
#include <iostream>using namespace std;
int main(){
enum color{red,yellow,blue,white,black};
int i=0;
int j=0;
int k=0;
for(;i<5;i++){
for(;j<5;j++){
for(;k<5;k++){
if(!(i==j)&&!(j==k))
{cout<<(color)i<<" ";
cout<<(color)j<<" ";
cout<<(color)k<<" "<<endl;
}
}
}
}
return 0;
}