Submission #991504


Source Code Expand

h,w = gets.split.map(&:to_i)

h.times{|i|
    d = gets.chomp.split
    j = d.index("snuke")
    if j
        printf "%c%d\n",65+j,i+1
        exit
    end
}

Submission Info

Submission Time
Task A - Where's Snuke?
User m_buyoh
Language C++14 (GCC 5.4.1)
Score 0
Code Size 169 Byte
Status CE

Compile Error

./Main.cpp:1:1: error: ‘h’ does not name a type
 h,w = gets.split.map(&:to_i)
 ^