結果

問題 No.290 1010
ユーザー 唐澤貴洋
提出日時 2015-10-16 23:51:32
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 527 bytes
コンパイル時間 853 ms
コンパイル使用メモリ 68,488 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-21 20:48:34
合計ジャッジ時間 2,017 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<set>
#include<map>
#include<list>
#include<stack>
#include<queue>
#include<bitset>
#include<array>
#include<algorithm>
#include<cstdio>
#include<string>
#include<cstdlib>
#include<numeric>
#define D long long
#define U unsigned
using namespace std;
D n, m,a, b, d, e, x, y, z;
D i, j, k;
char c,f;
string s;
D ans;
int main() {
	D t;
	cin >> s;
	if (s == "010" || s == "101" || s == "01" || s == "10" || s == "0" || s == "1")
		cout << "NO" << endl;
	else
		cout << "YES" << endl;
}
0