結果
| 問題 | No.932 解法破綻!高橋君 | 
| コンテスト | |
| ユーザー |  shop_one | 
| 提出日時 | 2019-11-29 21:42:12 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 8 ms / 2,000 ms | 
| コード長 | 377 bytes | 
| コンパイル時間 | 1,009 ms | 
| コンパイル使用メモリ | 66,104 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-20 21:43:01 | 
| 合計ジャッジ時間 | 1,778 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 | 
ソースコード
// I SELL YOU...! 
#include<iostream>
#include<vector>
#include<algorithm>
#include<functional>
#include<queue>
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;
signed main(){
  string s;
  cin >> s;
  for(int i=0;i<s.size();){
    if(s[i]=='A'&&s[i+1]=='C'){
      i+=3;
    }else{
      cout <<"Failed...\n";
      return 0;
    }
  }
  cout << "Done!\n";
}
            
            
            
        