結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
|
提出日時 | 2021-11-30 16:57:30 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 400 bytes |
コンパイル時間 | 3,792 ms |
コンパイル使用メモリ | 230,352 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-03 12:18:53 |
合計ジャッジ時間 | 4,461 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <atcoder/all> using namespace atcoder; #define ll long long #define rep(i, n) for (int i = 0; i < (n); i++) #define P pair<int, int> #define LP pair<ll, ll> int main() { string s; cin >> s; string ans = "Done!"; rep(i,s.size()) { if (s[i] == 'W' || s[i] == 'T' || s[i] == 'M') ans = "Failed..."; } cout << ans << endl; }