結果

問題 No.3025  
ユーザー kurenai3110kurenai3110
提出日時 2017-03-31 23:14:36
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 308 bytes
コンパイル時間 444 ms
コンパイル使用メモリ 60,728 KB
実行使用メモリ 6,812 KB
最終ジャッジ日時 2024-04-16 18:48:58
合計ジャッジ時間 764 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;

int main()
{
	string s;

	while (cin>>s) {
		bool t = false;
		for (int i = 0; i < s.size(); i++) {
			if (s[i] == 'T')t = true;
		}

		if (t)cout << "T" << endl;
		else cout << endl;
	}

    return false;
}

0