Run ID:35971

提交时间:2022-08-06 11:35:49

#include <bits/stdc++.h> using namespace std; int main(){ int a[4]={2,4,6,8}; int c=0; for(int i=0;i<4;++i){ for(int j=0;j<4;++j){ for(int k=0;k<4;++k){ if(i==j||j==k||i==k) continue; cout<<a[i]*100+a[j]*10+a[k]<<endl; c++; } } }cout<<c; return 0; }