Run ID:109100

提交时间:2025-01-26 17:34:02

#include<bits/stdc++.h> using namespace std; int main() { int s=0; for(int i=1;i<=4;i++) { for(int j=1;j<=4;j++) { for(int k=1;k<=4;k++) { for(int l=1;l<=4;l++) { if(i!=j&&i!=k&&i!=l&&j!=k&&j!=l&&k!=l) { cout<<2*i<<2*j<<2*k<<2*l<<endl; s++; } } } } } cout<<s<<endl; return 0; }