結果

問題 No.803 Very Limited Xor Subset
ユーザー tempura_pp
提出日時 2019-03-14 22:04:53
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 694 bytes
コンパイル時間 1,643 ms
コンパイル使用メモリ 175,312 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-27 06:41:12
合計ジャッジ時間 2,834 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 4 WA * 39
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define REP(i,m,n) for(int i=(int)(m) ; i < (int) (n) ; ++i )
#define rep(i,n) REP(i,0,n)
typedef long long ll;
typedef pair<int,int> pint;
typedef pair<ll,int> pli;
const int inf=1e9+7;
const ll longinf=1LL<<60 ;
const ll mod=1e9+7 ;

int main(){
	int n,m,k;
	cin>>n>>m>>k;
	assert(1<=n&&n<=300);
	assert(0<=m&&m<=300);
	assert(0<=k&&k<=1000000000);
	int a[n];
	rep(i,n){
		cin>>a[i];
		assert(0<=a[i]&&a[i]<=1000000000);
	}
	pair<int,pair<int,int>> p[m];
	map<pair<int,int>,int> mp;
	rep(i,m){
		int t,l,r;
		cin>>t>>l>>r;
		assert(t==0||t==1);
		assert(1<=l&&l<=r&&r<=n);
		assert(mp[pint(l,r)]==0);
		++mp[{l,r}];
	}
	cout<<0<<endl;
	return 0;
}
0