/ SeriousOJ /

Record Detail

Wrong Answer


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

Code

n=int(input())
list=[]
list1=[]
for i in range(n):
    x=input()
    list.append(x)
t=int(input())
for i in range(t):
    y=input()
    list1.append(y)
    if y in list and (list1.count(y)==1):
        print("Welcome!")
    elif y in list and (list1.count(y)!=1):
        print("Already inside!")  
    else:
        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 06:33:12
Judged At
2025-09-01 06:33:12
Judged By
Score
0
Total Time
14ms
Peak Memory
3.07 MiB