Submission #3721030


Source Code Expand

def itoa(i):
    if i==0:
        return "a"
    elif i==1:
        return "b"
    elif i==2:
        return "c"
    elif i==3:
        return "d"
    elif i==4:
        return "e"
    elif i==5:
        return "f"
    elif i==6:
        return "g"
    elif i==7:
        return "h"
    elif i==8:
        return "i"
    elif i==9:
        return "j"
    elif i==10:
        return "k"
    elif i==11:
        return "l"
    elif i==12:
        return "m"
    elif i==13:
        return "n"
    elif i==14:
        return "o"
    elif i==15:
        return "p"
    elif i==16:
        return "q"
    elif i==17:
        return "r"
    elif i==18:
        return "s"
    elif i==19:
        return "t"
    elif i==20:
        return "u"
    elif i==21:
        return "v"
    elif i==22:
        return "w"
    elif i==23:
        return "x"
    elif i==24:
        return "y"
    elif i==25:
        return "z"



H,W = list(map(int,input().split()))
S = []
for i in range(H):
    S.append(list(input().split()))

for i in range(H):
    for j in range(W):
        if S[i][j]=="snuke":
            print(itoa(j).upper()+str(i+1))
        break

Submission Info

Submission Time
Task A - Where's Snuke?
User rikein12
Language Python (3.4.3)
Score 0
Code Size 1209 Byte
Status WA
Exec Time 18 ms
Memory 3064 KB

Judge Result

Set Name sample all
Score / Max Score 0 / 0 0 / 100
Status
AC × 1
WA × 1
AC × 5
WA × 6
Set Name Test Cases
sample sample-01.txt, sample-02.txt
all sample-01.txt, sample-02.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, sample-01.txt, sample-02.txt
Case Name Status Exec Time Memory
01-01.txt AC 18 ms 3064 KB
01-02.txt AC 18 ms 3064 KB
01-03.txt WA 18 ms 3064 KB
01-04.txt AC 18 ms 3064 KB
01-05.txt WA 18 ms 3064 KB
01-06.txt WA 18 ms 3064 KB
01-07.txt WA 18 ms 3064 KB
sample-01.txt WA 18 ms 3064 KB
sample-02.txt AC 18 ms 3064 KB