Submission #6334115


Source Code Expand

Copy
import sys
input = sys.stdin.readline
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ans = 'snake'
h, w = map(int, input().split())

for i in range(h):
  i += 1
  s = [x for x in input().split()]
  if 'snuke' in s:
    ans = alphabet[s.index('snuke')] + str(i)
    break

print(ans)

Submission Info

Submission Time
Task A - Where's Snuke?
User ningensei848
Language Python3 (3.4.3)
Score 100
Code Size 290 Byte
Status
Exec Time 18 ms
Memory 3060 KB

Judge Result

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