Submission #30697
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include<bits/stdc++.h> using namespace std; int main(){ char str1[256],str2[256]; int s1,s2; fgets (str1, sizeof (str1),stdin); fgets (str2, sizeof (str2),stdin); if ( strlen (str1)> strlen (str2)) printf ( "HTN is stronger than TDN." ); else if ( strlen (str1)== strlen (str2)) printf ( "Draw..." ); else printf ( "TDN is stronger than HTN." ); printf ( "\n" ); return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0882 - HランDB |
ユーザー名 | crom |
投稿日時 | 2018-02-05 16:03:11 |
言語 | C++11 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 379 Byte |
最大実行時間 | 26 ms |
最大メモリ使用量 | 540 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input01.txt | AC | 26 ms | 480 KB |
1
|
input02.txt | AC | 20 ms | 460 KB |
1
|
input03.txt | AC | 17 ms | 436 KB |
1
|
input04.txt | AC | 20 ms | 540 KB |
1
|
input05.txt | AC | 14 ms | 516 KB |
1
|
input06.txt | AC | 14 ms | 368 KB |
1
|
input07.txt | AC | 19 ms | 468 KB |
1
|
input08.txt | AC | 19 ms | 444 KB |
1
|