結果

問題 No.932 解法破綻!高橋君
ユーザー T.Stream
提出日時 2021-02-04 13:17:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 9 ms / 2,000 ms
コード長 253 bytes
コンパイル時間 2,261 ms
コンパイル使用メモリ 191,828 KB
最終ジャッジ日時 2025-01-18 11:13:44
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
	int i;
	string s;
	cin >> s;
	i=0;
	while(i<s.size()){
		if(s[i]=='A' && s[i+1]=='C'){
			i+=3;
		}else{
			cout << "Failed..." << endl; return 0;
		}
	}
	cout << "Done!" << endl;
	return 0;
}
0