結果
| 問題 |
No.8025
|
| コンテスト | |
| ユーザー |
kurenai3110
|
| 提出日時 | 2017-03-31 23:19:47 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 316 bytes |
| コンパイル時間 | 634 ms |
| コンパイル使用メモリ | 60,968 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-10-07 19:00:10 |
| 合計ジャッジ時間 | 816 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
int main()
{
string s;
while (getline(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;
}
kurenai3110