Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
16
Task/Arithmetic-Integer/Haxe/arithmetic-integer.hx
Normal file
16
Task/Arithmetic-Integer/Haxe/arithmetic-integer.hx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
class Main {
|
||||
static public function main():Void {
|
||||
var input_a = Sys.stdin().readLine();
|
||||
var input_b = Sys.stdin().readLine();
|
||||
|
||||
var a = Std.parseInt(input_a);
|
||||
var b = Std.parseInt(input_b);
|
||||
|
||||
trace(a + b);
|
||||
trace(a - b);
|
||||
trace(a * b);
|
||||
trace(Std.int(a / b));
|
||||
trace(a % b);
|
||||
trace(Math.pow(a, b));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue