CODE FESTIVAL 2016 Final

Submission #6797059

Source codeソースコード

H,W = map(int,input().split())
S =[list(input().split()) for i in range(H)]
c_dict = {0:"1",1:"2",2:"3",3:"4",4:"5",5:"6",6:"7",7:"8",8:"9",9:"10",10:"11",\
11:"12",12:"13",13:"14",14:"15",15:"16",16:"17",17:"18",18:"A",19:"B",20:"C",\
21:"D",22:"E",23:"F",24:"G",25:"H"}

l_dict = {0:"A",1:"B",2:"C",3:"D",4:"E",5:"F",6:"G",7:"H",8:"I",9:"J",10:"K",\
11:"L",12:"M",13:"N",14:"O",15:"P",16:"Q",17:"R",18:"S",19:"T",20:"U",21:"V",\
22:"W",23:"X",24:"Y",25:"Z"}

for i in range(H):
    for j in range(W):
        if S[i][j]=="snuke":
            print(l_dict[j]+c_dict[i])
            exit()

Submission

Task問題 A - Where's Snuke?
User nameユーザ名 SleepyPuppy
Created time投稿日時
Language言語 Python3 (3.4.3)
Status状態 AC
Score得点 100
Source lengthソースコード長 603 Byte
File nameファイル名
Exec time実行時間 17 ms
Memory usageメモリ使用量 3064 KB

Test case

Set

Set name Score得点 / Max score Cases
sample - 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

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
01-01.txt AC 17 ms 3064 KB
01-02.txt AC 17 ms 3064 KB
01-03.txt AC 17 ms 3064 KB
01-04.txt AC 17 ms 3064 KB
01-05.txt AC 17 ms 3064 KB
01-06.txt AC 17 ms 3064 KB
01-07.txt AC 17 ms 3064 KB
sample-01.txt AC 17 ms 3064 KB
sample-02.txt AC 17 ms 3064 KB