Submission #51258


ソースコード

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
#include<stdio.h>
#include<string.h>
#define CAPA 256
int main()
{
char str1[CAPA], str2[CAPA];
int str1_len, str2_len;
scanf("%[^\n]%*c", str1);
scanf("%[^\n]%*c", str2);
str1_len = strlen(str1);
str2_len = strlen(str2);
if(str1_len==str2_len)
printf("Draw...\n");
else if(str1_len>str2_len)
printf("HTN is stronger than TDN.\n");
else if(str1_len<str2_len)
printf("TDN is stronger than HTN.\n");
return 0;
}

ステータス

項目 データ
問題 0882 - HランDB
ユーザー名 sth18_r-ishigami
投稿日時 2019-07-10 16:23:13
言語 C
状態 Accepted
得点 1
ソースコード長 458 Byte
最大実行時間 25 ms
最大メモリ使用量 548 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 18 ms 504 KB
1
input02.txt AC 19 ms 304 KB
1
input03.txt AC 25 ms 320 KB
1
input04.txt AC 19 ms 372 KB
1
input05.txt AC 19 ms 548 KB
1
input06.txt AC 19 ms 376 KB
1
input07.txt AC 23 ms 416 KB
1
input08.txt AC 22 ms 436 KB
1