Runtime Error
Code
t = int(input())
s =['l','e','a','d','i','n','g','u','n','i','v','e','r','s','i','t','y']
s.sort()
for i in range(t):
x = input()
li=[]
y = len(x)
for i in range(y):
li.append(x[i])
li.sort()
if li==s:
print("Leading University")
else:
print("Impossible")
Information
- Submit By
- Type
- Submission
- Problem
- P1024 Rearrange Character
- Contest
- Brain booster #2
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2024-03-06 14:17:40
- Judged At
- 2024-11-11 03:42:02
- Judged By
- Score
- 0
- Total Time
- 15ms
- Peak Memory
- 3.109 MiB