]>
Commit | Line | Data |
---|---|---|
e983cf52 PH |
1 | // input: [] |
2 | // output: 123 | |
3 | ||
4 | package { | |
5 | public class NeOperator { | |
6 | public static function main(): int { | |
7 | var res:int = 0; | |
8 | if (1 != 2) { | |
9 | res += 3; | |
10 | } else { | |
11 | res += 4; | |
12 | } | |
13 | if (2 != 2) { | |
14 | res += 10; | |
15 | } else { | |
16 | res += 20; | |
17 | } | |
18 | if (9 == 9) { | |
19 | res += 100; | |
20 | } | |
21 | return res; | |
22 | } | |
23 | } | |
24 | } |