Submission #36915
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | import java.io.*; import java.util.*; import java.lang.*; class Main{ static Scanner scan = new Scanner(System.in); public static void main(String args[]){ int a = getLine().length(); int b = getLine().length(); if ( a == b ){ print( "Draw..." ); } else if ( a < b ){ print( "TDN is stronger than HTN." ); } else { print( "HTN is stronger than TDN." ); } } static int getInt(){ return scan.nextInt(); } static String getStr(){ return scan.next(); } static String getLine(){ return scan.nextLine(); } static void print(Object a){ System.out.println(a); } } |
ステータス
項目 | データ |
---|---|
問題 | 0882 - HランDB |
ユーザー名 | r1825 |
投稿日時 | 2018-06-07 17:48:39 |
言語 | Java |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 696 Byte |
最大実行時間 | 101 ms |
最大メモリ使用量 | 14712 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input01.txt | AC | 100 ms | 14380 KB |
1
|
input02.txt | AC | 90 ms | 13796 KB |
1
|
input03.txt | AC | 91 ms | 14336 KB |
1
|
input04.txt | AC | 91 ms | 13228 KB |
1
|
input05.txt | AC | 89 ms | 14712 KB |
1
|
input06.txt | AC | 95 ms | 13584 KB |
1
|
input07.txt | AC | 92 ms | 13652 KB |
1
|
input08.txt | AC | 101 ms | 13780 KB |
1
|