Submission #6322096


Source Code Expand

Copy
import re, sys
input = sys.stdin.readline

def my_index(l, x, default=False):
    if x in l:
        return l.index(x)
    else:
        return default

h, w = map(int, input().split())

for i in range(h):
  col = my_index(input().split(), 'snuke')
  if col == False:
    row = i + 1
    break

alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
print(alphabet[col] + str(row))

Submission Info

Submission Time
Task A - Where's Snuke?
User ningensei848
Language Python3 (3.4.3)
Score 0
Code Size 384 Byte
Status
Exec Time 22 ms
Memory 3316 KB

Judge Result

Set Name Score / Max Score Test Cases
sample 0 / 0 sample-01.txt, sample-02.txt
all 0 / 100 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 22 ms 3316 KB
01-02.txt 19 ms 3188 KB
01-03.txt 19 ms 3188 KB
01-04.txt 18 ms 3188 KB
01-05.txt 18 ms 3188 KB
01-06.txt 18 ms 3188 KB
01-07.txt 18 ms 3188 KB
sample-01.txt 19 ms 3188 KB
sample-02.txt 18 ms 3188 KB