ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1880
. Psych Up's Eigenvalues
just 12Lines of python
Posted by
SUBHADEEP MANDAL
4 Mar 2023 15:34
a=input()
a1=list(map(int,input().split()))
b=input()
b1=list(map(int,input().split()))
c=input()
c1=list(map(int,input().split()))
cnt=0
for i in a1:
if i in b1:
if i in c1:
cnt+=1
print(cnt)
© 2000–2024
Timus Online Judge Team
. All rights reserved.