/ 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' 15ms 3.02 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 3.109 MiB

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