2024-08-03 23:05:09 +02:00

44 lines
556 B
Plaintext

import sys
main() {
correct := 0
switch {
1 == 1 { correct += 1 }
}
switch {
1 == 1 { correct += 1 }
_ { correct -= 1 }
}
switch {
0 == 1 { correct -= 1 }
_ { correct += 1 }
}
switch {
0 == 1 { correct -= 1 }
0 == 2 { correct -= 1 }
_ { correct += 1 }
}
switch {
0 == 1 { correct -= 1 }
0 == 2 { correct -= 1 }
2 == 2 { correct += 1 }
_ { correct -= 1 }
}
switch {
0 == 1 { correct -= 1 }
0 == 2 { correct -= 1 }
0 == 3 { correct -= 1 }
}
if correct == 5 {
return
}
sys.exit(1)
}