Submission #36653


ソースコード

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

ステータス

項目 データ
問題 0882 - HランDB
ユーザー名 卒業済みr1807
投稿日時 2018-05-31 18:14:42
言語 C
状態 Accepted
得点 1
ソースコード長 424 Byte
最大実行時間 32 ms
最大メモリ使用量 584 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 24 ms 380 KB
1
input02.txt AC 23 ms 404 KB
1
input03.txt AC 21 ms 584 KB
1
input04.txt AC 25 ms 540 KB
1
input05.txt AC 20 ms 568 KB
1
input06.txt AC 24 ms 496 KB
1
input07.txt AC 32 ms 548 KB
1
input08.txt AC 31 ms 476 KB
1