結果

問題 No.932 解法破綻!高橋君
ユーザー Y_S
提出日時 2020-07-17 05:50:31
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 8 ms / 2,000 ms
コード長 348 bytes
コンパイル時間 786 ms
コンパイル使用メモリ 68,760 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-27 08:17:14
合計ジャッジ時間 1,500 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>	//cin, cout
#include <vector>	//vector
#include <algorithm> //sort,min,max
#include <string>	//string

using namespace std;

int main() {

	string S;
	cin >> S;

	if (S.find("W") == string::npos) {
		if (S.find("L") == string::npos) {
			cout << "Done!" << endl;
			return 0;
		}
	}

	cout << "Failed..." << endl;

	return 0;

}
0