Submission #60258


ソースコード

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
32
33
34
35
36
#include <bits/stdc++.h>
#include<iostream>
#include<algorithm>
#include<vector>
#include<string>
#include<cmath>
#include<queue>
#include<stack>
#include<map>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
template<typename A, typename B> bool chmin(A &a, const B &b){ return b < a && (a = b, true); }
template<typename A, typename B> bool chmax(A &a, const B &b){ return a < b && (a = b, true); }
int main() {
string s,t;
int n,m;
getline(cin,s);
getline(cin,t);
n = s.size();
m = t.size();
if (n > m){
cout << "HTN is stronger than TDN.\n";
}
if (n == m){
cout << "Draw...\n";
}
if (n < m){
cout << "TDN is stronger than HTN.\n";
}
return 0;
}

ステータス

項目 データ
問題 0882 - HランDB
ユーザー名 kumakuma
投稿日時 2020-06-24 19:58:13
言語 C++14
状態 Accepted
得点 1
ソースコード長 755 Byte
最大実行時間 52 ms
最大メモリ使用量 708 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 52 ms 604 KB
1
input02.txt AC 25 ms 708 KB
1
input03.txt AC 22 ms 676 KB
1
input04.txt AC 30 ms 524 KB
1
input05.txt AC 17 ms 496 KB
1
input06.txt AC 27 ms 468 KB
1
input07.txt AC 46 ms 700 KB
1
input08.txt AC 20 ms 544 KB
1