/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 15ms 3.02 MiB
#2 Accepted 15ms 3.121 MiB
#3 Accepted 15ms 3.066 MiB
#4 Accepted 15ms 2.945 MiB
#5 Accepted 15ms 3.07 MiB
#6 Accepted 16ms 3.078 MiB
#7 Accepted 15ms 3.129 MiB
#8 Accepted 14ms 3.109 MiB
#9 Accepted 14ms 2.93 MiB
#10 Accepted 14ms 3.07 MiB
#11 Accepted 14ms 3.062 MiB

Code

name = ['l','e','a','d','i','n','g','u','n','i','v','e','r','s','i','t','y']
n = input()
l1 = len(name)
count = 0
for s1 in n:
    if s1 in name:
        count = count + 1
        name.remove(s1)
if count == l1:
    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:37:44
Judged At
2024-11-11 03:41:51
Judged By
Score
100
Total Time
16ms
Peak Memory
3.129 MiB