Submission #5719873
Source Code Expand
###template### import sys def input(): return sys.stdin.readline().rstrip() def mi(): return map(int, input().split()) ###template### H, W = mi() S = [] for _ in range(H): S.append(input().split()) sni = 0 #タテ snj = 0 #ヨコ for i, s in enumerate(S): for j, word in enumerate(s): if word == 'snuke': sni = i + 1 snj = j print(chr(ord('A')+snj)+str(sni))
Submission Info
Submission Time | |
---|---|
Task | A - Where's Snuke? |
User | TeruMiyake |
Language | PyPy3 (2.4.0) |
Score | 100 |
Code Size | 410 Byte |
Status | AC |
Exec Time | 188 ms |
Memory | 38256 KB |
Judge Result
Set Name | sample | all | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
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 | 177 ms | 38256 KB |
01-02.txt | AC | 183 ms | 38256 KB |
01-03.txt | AC | 188 ms | 38256 KB |
01-04.txt | AC | 173 ms | 38256 KB |
01-05.txt | AC | 167 ms | 38256 KB |
01-06.txt | AC | 167 ms | 38256 KB |
01-07.txt | AC | 168 ms | 38256 KB |
sample-01.txt | AC | 169 ms | 38256 KB |
sample-02.txt | AC | 182 ms | 38256 KB |