This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include<bits/stdc++.h>
using namespace std;
int main() {
int A,B,C,D;
for(A=1; A<=4; A++)
for(B=1; B<=4; B++)
if(A!=B) {
for(C=1; C<=4; C++)
if(A!=C && B!=C) {
D=1+2+3+4-A-B-C;
if((A==3)^(B==4) &&(B==1)^(D==4) && (C==4)^(D==3) &&(D==2)^(A==1))
cout<<A<<B<<C<<D;
}
}
return 0;
}