| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1259838 | khaerulmamu | Pizza (COCI21_pizza) | C++17 | 0 ms | 328 KiB |
#include <bits/stdc++.h>
using namespace std;
int main (){
int N,M;
cin >> N;
set<int> blck;
for(int i=0; i<N; i++){
int x;
cin >> x;
blck.insert(x);
}
cin >> M;
int cnt=0;
for (int i=0; i<M; i++){
int K;
cin >> K;
bool aman=true;
for(int j=0; j<K; j++){
int x;
cin >> x;
if(blck.count(x))aman=false;
}
if(aman)cnt++;
}
cout << cnt <<endl;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
