You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
226 B
13 lines
226 B
// input: [1, 2]
|
|
// output: 3
|
|
|
|
package {
|
|
public class LocalVars {
|
|
public static function main(a:int, b:int):int{
|
|
var c:int = a + b + b;
|
|
var d:int = c - b;
|
|
var e:int = d;
|
|
return e;
|
|
}
|
|
}
|
|
}
|