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

34 lines
763 B
Plaintext
Raw Normal View History

2024-01-09 19:48:14 +08:00
int main() {
const int a = 1;
const int b = 2;
const int c = 3;
const int d = 4;
const int e = 5;
const int 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;
}