Submission #30698


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include<iostream>
#include<cstring>
using namespace std;
main()
{
char s[256], t[256];
gets(s);
gets(t);
if ( strlen(s) == strlen(t) ) {
cout << "Draw..." << endl;
} else if ( strlen(s) < strlen(t) ) {
cout << "TDN is stronger than HTN." << endl;
} else {
cout << "HTN is stronger than TDN." << endl;
}
return (0);
}

ステータス

項目 データ
問題 0882 - HランDB
ユーザー名 ei1710
投稿日時 2018-02-05 16:05:57
言語 C++17
状態 Accepted
得点 1
ソースコード長 373 Byte
最大実行時間 22 ms
最大メモリ使用量 712 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 15 ms 480 KB
1
input02.txt AC 18 ms 712 KB
1
input03.txt AC 18 ms 688 KB
1
input04.txt AC 22 ms 536 KB
1
input05.txt AC 18 ms 644 KB
1
input06.txt AC 20 ms 492 KB
1
input07.txt AC 20 ms 472 KB
1
input08.txt AC 19 ms 448 KB
1