# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
975503 |
2024-05-05T10:49:05 Z |
vjudge1 |
Pizza (COCI21_pizza) |
Python 3 |
|
15 ms |
2976 KB |
ndislike = int(input())
dislike = []
for i in range(ndislike):
dislike.append(int(input()))
nbingkisan = int(input())
set_binks = []
for i in range(nbingkisan):
ncemilan = int(input())
setcemilan = []
for j in range(ncemilan):
cemil = int(input())
setcemilan.append(cemil)
set_binks.append(setcemilan)
# nbingkisan = 4
# ndislike = 3
# dislike = [1,2,3]
# set_binks = [[2,1,3],[4,5],[1],[10]]
def exist(el, set):
cnt = 0
for i in set:
if (el-i==0):
cnt += 1
break
return cnt
ans = 0
for i in set_binks:
for j in i:
if (exist(j,dislike)==0):
ans += 1
break
print(ans)
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
15 ms |
2908 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
11 ms |
2908 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
11 ms |
2908 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
11 ms |
2776 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
11 ms |
2976 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |