/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 14ms 3.328 MiB
#2 Accepted 15ms 3.117 MiB
#3 Accepted 14ms 2.902 MiB
#4 Accepted 15ms 3.02 MiB
#5 Accepted 15ms 2.926 MiB
#6 Accepted 15ms 3.02 MiB
#7 Accepted 15ms 3.02 MiB
#8 Accepted 15ms 3.02 MiB
#9 Accepted 15ms 3.086 MiB
#10 Accepted 15ms 3.066 MiB
#11 Accepted 15ms 2.895 MiB

Code

x =['l','e','a','d','i','n','g','u','n','i','v','e','r','s','i','t','y']
x.sort()
s = input()
li = []
y = len(s)
for i in range(y):
    li.append(s[i])
li.sort()
if li == x:
    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:21:33
Judged At
2024-11-11 03:42:00
Judged By
Score
100
Total Time
15ms
Peak Memory
3.328 MiB