Submission #34949


ソースコード

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
#include<stdio.h>
#include<string.h>
int main()
{
char str1[256],str2[256];
scanf("%[^\n] %[^\n]",str1,str2);
int a = strlen(str1);
int 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
ユーザー名 r1804
投稿日時 2018-05-08 17:20:50
言語 C++11
状態 Accepted
得点 1
ソースコード長 383 Byte
最大実行時間 52 ms
最大メモリ使用量 712 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 52 ms 604 KB
1
input02.txt AC 28 ms 712 KB
1
input03.txt AC 17 ms 564 KB
1
input04.txt AC 37 ms 420 KB
1
input05.txt AC 24 ms 532 KB
1
input06.txt AC 41 ms 520 KB
1
input07.txt AC 37 ms 632 KB
1
input08.txt AC 21 ms 612 KB
1