LocalVars.as 226 B

1234567891011121314
  1. // input: [1, 2]
  2. // output: 3
  3. package {
  4. public class LocalVars {
  5. public static function main(a:int, b:int):int{
  6. var c:int = a + b + b;
  7. var d:int = c - b;
  8. var e:int = d;
  9. return e;
  10. }
  11. }
  12. }