Submission #992656


Source Code Expand

x, y = map(int, input().split(' '))
s = [[0 for i in range(y)] for j in range(x)]

for i in range(x):
    s[i] = list(map(str, input().split(' ')))

c = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']

flag = False

for i in range(x):
    if flag == False:
        for j in range(y):
            if s[i][j] == "snuke":          
                print(c[j], end="")
                print(i+1)
                flag = True
                break

Submission Info

Submission Time
Task A - Where's Snuke?
User otyaduke_117
Language Python (3.4.3)
Score 100
Code Size 541 Byte
Status AC
Exec Time 22 ms
Memory 3064 KB

Judge Result

Set Name sample all
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 9
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
Case Name Status Exec Time Memory
01-01.txt AC 22 ms 3064 KB
01-02.txt AC 22 ms 3064 KB
01-03.txt AC 22 ms 3064 KB
01-04.txt AC 22 ms 3064 KB
01-05.txt AC 22 ms 3064 KB
01-06.txt AC 22 ms 3064 KB
01-07.txt AC 22 ms 3064 KB
sample-01.txt AC 22 ms 3064 KB
sample-02.txt AC 22 ms 3064 KB