/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 13ms 2.91 MiB
#2 Wrong Answer 14ms 3.02 MiB

Code

n=int(input())
list1=[]
list2=[]
for i in range(n):
    x=input()
    list1.append(x)
t=int(input())
for j in range(t):
    y=input()
    list2.append(y)
    if (y in list1 and (list2.count(y)==1)):
        print("Welcome!")
    elif y in list1 and (list2.count(y)!=1):
        print("Already inside!")  
    elif(y not in list1):
        print("Sorry, not on the list.")

       

Information

Submit By
Type
Submission
Problem
P1227 LUCC Party Check-in
Contest
LUCC Presents Kick & Code Intra LU Programming Contest
Language
Python 3 (Python 3.12.3)
Submit At
2025-09-01 07:18:53
Judged At
2025-09-01 07:18:53
Judged By
Score
0
Total Time
14ms
Peak Memory
3.02 MiB