結果

問題 No.932 解法破綻!高橋君
ユーザー sakaki_tohru
提出日時 2019-11-23 00:42:44
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 8 ms / 2,000 ms
コード長 318 bytes
コンパイル時間 1,836 ms
コンパイル使用メモリ 193,144 KB
最終ジャッジ日時 2025-01-08 05:25:46
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
  string s;
  cin >> s;
  bool ans = true;
  for (int i = 0; i < s.size(); i += 3) {
    if(s[i]=='A'){

    }
    else{
      ans = false;
    }
  }

  if(ans){
    cout << "Done!" << endl;
  }
  else{
    cout << "Failed..." << endl;
  }

  ;
  return 0;
}
0