Submission #50931
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #include <stdio.h> #include <string.h> int main( void ) { char str1[256], str2[256]; int len1,len2; scanf ( "%[^\n] %[^\n]" , str1, str2); len1= strlen (str1); len2= strlen (str2); if (len1>len2){ printf ( "HTN is stronger than TDN.\n" ); } else if (len1<len2){ printf ( "TDN is stronger than HTN.\n" ); } else { printf ( "Draw...\n" ); } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0882 - HランDB |
ユーザー名 | sth17_s-ito |
投稿日時 | 2019-06-26 16:28:14 |
言語 | C |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 367 Byte |
最大実行時間 | 31 ms |
最大メモリ使用量 | 552 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input01.txt | AC | 31 ms | 504 KB |
1
|
input02.txt | AC | 19 ms | 304 KB |
1
|
input03.txt | AC | 22 ms | 324 KB |
1
|
input04.txt | AC | 16 ms | 368 KB |
1
|
input05.txt | AC | 24 ms | 552 KB |
1
|
input06.txt | AC | 17 ms | 480 KB |
1
|
input07.txt | AC | 17 ms | 436 KB |
1
|
input08.txt | AC | 20 ms | 364 KB |
1
|