結果
| 問題 | No.932 解法破綻!高橋君 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-11-29 23:59:42 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 4 ms / 2,000 ms | 
| コード長 | 481 bytes | 
| コンパイル時間 | 769 ms | 
| コンパイル使用メモリ | 91,564 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-20 23:55:04 | 
| 合計ジャッジ時間 | 1,483 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 | 
ソースコード
#include<iostream>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<set>
#include<map>
#include<queue>
#include<vector>
using namespace std;
typedef long long ll;
const int MOD=1e9+7;
int main() {
  cin.tie(0),cout.tie(0);
  ios::sync_with_stdio(false);
  string s;
  cin >> s;
  int w=0,t=0,m=0;
  for(int i=0; i<s.size(); i++) {
    if(s[i]=='W'||s[i]=='M'||s[i]=='T') {
      cout << "Failed..." << endl;
      return 0;
    }
    
  }
  cout << "Done!" << endl;
}
            
            
            
        