Submission #54934731
Source Code Expand
Copy
class Main {static public function main():Void {var stdin = Sys.stdin();var line1 = stdin.readLine();var line2 = stdin.readLine();var line3 = stdin.readLine();var spacepos = line2.indexOf(" ");var line21 = line2.substring(0, spacepos);var line22 = line2.substring(spacepos + 1);var a = Std.parseInt(line1);var b = Std.parseInt(line21);var c = Std.parseInt(line22);var sum = a + b + c;Sys.println('$sum $line3');}}
class Main { static public function main():Void { var stdin = Sys.stdin(); var line1 = stdin.readLine(); var line2 = stdin.readLine(); var line3 = stdin.readLine(); var spacepos = line2.indexOf(" "); var line21 = line2.substring(0, spacepos); var line22 = line2.substring(spacepos + 1); var a = Std.parseInt(line1); var b = Std.parseInt(line21); var c = Std.parseInt(line22); var sum = a + b + c; Sys.println('$sum $line3'); } }
Submission Info
Submission Time | |
---|---|
Task | PracticeA - Welcome to AtCoder |
User | mikecat |
Language | Haxe (JVM) (Haxe 4.3.1) |
Score | 100 |
Code Size | 555 Byte |
Status | AC |
Exec Time | 282 ms |
Memory | 41948 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_rnd_01.txt, 00_rnd_02.txt, 00_rnd_03.txt, 00_rnd_04.txt, 00_rnd_05.txt, 00_sample_1.txt, 00_sample_2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_rnd_01.txt | AC | 282 ms | 41948 KB |
00_rnd_02.txt | AC | 46 ms | 36456 KB |
00_rnd_03.txt | AC | 43 ms | 36480 KB |
00_rnd_04.txt | AC | 45 ms | 36608 KB |
00_rnd_05.txt | AC | 43 ms | 36376 KB |
00_sample_1.txt | AC | 42 ms | 36604 KB |
00_sample_2.txt | AC | 44 ms | 36648 KB |