sysy-data/hidden_functional_c/sy/03_branch.sy

36 lines
720 B
Plaintext
Raw Permalink Normal View History

2024-06-02 22:04:54 +08:00
#include "sylib.h"
2024-06-14 13:25:10 +08:00
int main() {
#define a 1
#define b 2
#define c 3
#define d 4
#define e 5
#define f 6
if (a * b + c < 6 && d != 0) {
if (e || !a + 0) {
if (c == 2 && d + e > 2) return 3;
else {
if (f % c && e) return 4;
else {
if (d / b + a >= 2) {
if (e - f >= 0 || d > 4) return 6;
else {
if (c != f) {
if (b + e * d > 10) {
if (!f) return 9;
else return 10;
}
else return 8;
}
else return 7;
}
}
else return 5;
}
}
}
else return 2;
}
else return 1;
}