結果

問題 No.2121 帰属関係と充足可能性
ユーザー 沙耶花沙耶花
提出日時 2022-11-04 22:12:35
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 717 bytes
コンパイル時間 4,375 ms
コンパイル使用メモリ 263,804 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-26 00:39:09
合計ジャッジ時間 9,709 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 WA -
testcase_06 WA -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 AC 1 ms
4,380 KB
testcase_12 AC 2 ms
4,380 KB
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 WA -
testcase_18 WA -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 WA -
testcase_23 RE -
testcase_24 WA -
testcase_25 RE -
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
testcase_29 WA -
testcase_30 RE -
testcase_31 WA -
testcase_32 RE -
testcase_33 RE -
testcase_34 WA -
testcase_35 RE -
testcase_36 WA -
testcase_37 RE -
testcase_38 RE -
testcase_39 RE -
testcase_40 RE -
testcase_41 WA -
testcase_42 RE -
testcase_43 WA -
testcase_44 RE -
testcase_45 RE -
testcase_46 AC 2 ms
4,380 KB
testcase_47 RE -
testcase_48 AC 2 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;
using mint = modint998244353;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define Inf32 1000000001
#define Inf64 4000000000000000001

vector<vector<string>> s(6);
int main(){
	
	s[0] = {};
	int n;
	cin>>n;
	if(n>=4){
		cout<<"YES"<<endl;
	}
	else{
		assert(false);
	}
	return 0;
	for(int i=1;i<=n;i++){
		rep(j,1<<s[i-1].size()){
			string cur = "{";
			rep(k,s[i-1].size()){
				if((j>>k)&1){
					cur += s[i-1][k];
					cur += ',';
				}
			}
			if(cur.size()!=1)cur.pop_back();
			cur += '}';
			s[i].push_back(cur);
		}
		sort(s[i].begin(),s[i].end());
	}
	cout<<s[n].size()<<endl;
	
	return 0;
}
0