Simplified branch tests

This commit is contained in:
Eduard Urbach 2024-07-08 13:48:46 +02:00
parent 1c4d2d4f88
commit 69f70b5b2f
Signed by: eduard
GPG key ID: 49226B848C78F6C8

View file

@ -33,11 +33,9 @@ main() {
exit(1) exit(1)
} }
if x != x || x != x || x != x || x == x || x != x { if (x == x && x != x || x == x && x == x) && (x == x && x == x || x == x && x != x) {
if x + 1 == inc(x) && x - 1 == dec(x) && x == dec(inc(x)) { if (x != x || x == x) && (x != x || x != x) || (x == x || x != x) && (x != x || x == x) {
if (x == x && x != x || x == x && x == x) && (x == x && x == x || x == x && x != x) { exit(0)
exit(0)
}
} }
} }