Submission #31595


ソースコード

1
2
3
4
5
6
7
8
9
10
import java.util.Scanner;
class Main{
public static void main(String[]$) {
Scanner s=new Scanner(System.in);
int v=Integer.compare(s.nextLine().length(),s.nextLine().length());
System.out.println(v>0?"HTN is stronger than TDN.":v<0?"TDN is stronger than HTN.":"Draw...");
}
}

ステータス

項目 データ
問題 0882 - HランDB
ユーザー名 fal_rnd
投稿日時 2018-02-26 20:42:13
言語 Java
状態 Accepted
得点 1
ソースコード長 296 Byte
最大実行時間 80 ms
最大メモリ使用量 14652 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 76 ms 13228 KB
1
input02.txt AC 73 ms 14440 KB
1
input03.txt AC 80 ms 13580 KB
1
input04.txt AC 72 ms 14652 KB
1
input05.txt AC 73 ms 14180 KB
1
input06.txt AC 73 ms 13924 KB
1
input07.txt AC 78 ms 14584 KB
1
input08.txt AC 70 ms 13344 KB
1