# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
973569 |
2024-05-02T07:24:41 Z |
vjudge1 |
Pizza (COCI21_pizza) |
C++17 |
|
1 ms |
348 KB |
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m;
bool bisa = true;
int cnt = 0;
cin >> n;
int a[101], k[101], b[101];
for(int i = 1; i <= n; i++){
cin >> a[i];
}
cin >> m;
for(int i = 1; i <= m; i++){
cin >> k[i];
for(int j = 1; j <= k[i]; j++){
cin >> b[j];
}
}
for(int i = 1; i <= n; i++){
for(int j = 1; j <= k[i]; j++){
if(a[i] == b[j]) bisa = false;
break;
}
if(bisa) cnt++;
}
cout << cnt;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |