/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 1, in <module> ValueError: invalid literal for int() with base 10: 'yeaningudiversitl' 14ms 3.105 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 1, in <module> ValueError: invalid literal for int() with base 10: 'leading' 15ms 2.902 MiB

Code

t = int(input())
for i in range(t):
    s =['l','e','a','d','i','n','g','u','n','i','v','e','r','s','i','t','y']
    s.sort()
    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:10:55
Judged At
2024-11-11 03:42:05
Judged By
Score
0
Total Time
15ms
Peak Memory
3.105 MiB