Submission #1613475
Source Code Expand
using System; class CF2016FA { static public void Main(string[] args) { int H, W; string[] vals = Console.ReadLine().Split(' '); H = int.Parse(vals[0]); W = int.Parse(vals[1]); bool found = false; int i=0, j=0; for(; i < H; i++) { vals = Console.ReadLine().Split(' '); for(j=0; j < W; j++) { if(vals[j] == "snuke") { found = true; break; } } if(found) break; } Console.WriteLine("{0}{1}", (char)('A' + j), i + 1); } }
Submission Info
Submission Time | |
---|---|
Task | A - Where's Snuke? |
User | hogeki |
Language | C# (Mono 4.6.2.0) |
Score | 100 |
Code Size | 515 Byte |
Status | AC |
Exec Time | 23 ms |
Memory | 13268 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 | 23 ms | 13268 KB |
01-02.txt | AC | 22 ms | 11220 KB |
01-03.txt | AC | 22 ms | 9172 KB |
01-04.txt | AC | 22 ms | 11092 KB |
01-05.txt | AC | 22 ms | 11092 KB |
01-06.txt | AC | 22 ms | 11092 KB |
01-07.txt | AC | 23 ms | 13140 KB |
sample-01.txt | AC | 23 ms | 11092 KB |
sample-02.txt | AC | 22 ms | 9172 KB |