結果

問題 No.932 解法破綻!高橋君
ユーザー leaf_1415
提出日時 2019-11-29 21:42:33
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 342 bytes
コンパイル時間 455 ms
コンパイル使用メモリ 55,768 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-20 21:43:38
合計ジャッジ時間 1,210 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#define llint long long

using namespace std;

string s;

int main(void)
{
	ios::sync_with_stdio(0);
	cin.tie(0);
	
	cin >> s;
	for(int i = 0; i < s.size(); i++){
		if(s[i] != 'A' && s[i] != 'C' && s[i] != ','){
			cout << "Failed..." << endl;
			return 0;
		}
	}
	cout << "Done!" << endl;
	
	return 0;
}
0