parent
0ab1ca5501
commit
e983cf5277
2 changed files with 42 additions and 1 deletions
@ -0,0 +1,24 @@ |
||||
// input: [] |
||||
// output: 123 |
||||
|
||||
package { |
||||
public class NeOperator { |
||||
public static function main(): int { |
||||
var res:int = 0; |
||||
if (1 != 2) { |
||||
res += 3; |
||||
} else { |
||||
res += 4; |
||||
} |
||||
if (2 != 2) { |
||||
res += 10; |
||||
} else { |
||||
res += 20; |
||||
} |
||||
if (9 == 9) { |
||||
res += 100; |
||||
} |
||||
return res; |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue