Submission #46929


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <string.h>
int main( void )
{
char str1[256], str2[256];
int a, b;
scanf("%[^\n] %[^\n]", str1, str2);
a = strlen(str1);
b = strlen(str2);
if( a > b ) {
printf("HTN is stronger than TDN.\n");
} else if( a < b ) {
printf("TDN is stronger than HTN.\n");
} else {
printf("Draw...\n");
}
return 0;
}

ステータス

項目 データ
問題 0882 - HランDB
ユーザー名 sth18_k-masui
投稿日時 2019-01-29 17:10:54
言語 C
状態 Accepted
得点 1
ソースコード長 364 Byte
最大実行時間 25 ms
最大メモリ使用量 584 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 25 ms 376 KB
1
input02.txt AC 24 ms 396 KB
1
input03.txt AC 23 ms 452 KB
1
input04.txt AC 17 ms 380 KB
1
input05.txt AC 17 ms 432 KB
1
input06.txt AC 20 ms 480 KB
1
input07.txt AC 17 ms 532 KB
1
input08.txt AC 20 ms 584 KB
1