Submission #1258567


Source Code Expand

using System;
using System.Collections.Generic;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        int[] a = Read.Ints();
        for (int i = 0; i < a[0]; i++)
        {
            string[] s = Read.Strs();
            for (int k = 0; k < a[1]; k++)
            {
                if (s[k] == "snuke")
                {
                    Console.WriteLine((k+'A')+""+(i+1));
                }
            }
        }
    }
}
public static class Read
{
    public static string read() { return Console.ReadLine(); }
    public static void outl(string n = "") { Console.WriteLine(n); return; }
    public static bool IsPrime(long n)
    {
        if (n < 2) return false;
        if (n == 2) return true;

        for (int i = 2; i < n; i++)
        {
            if (n % i == 0) return false;
        }
        return true;
    }
    public static int Int()
    {
        return int.Parse(Console.ReadLine());
    }
    public static int[] Ints()
    {
        return Console.ReadLine().Split().Select(int.Parse).ToArray();
    }
    public static string Str() { return Console.ReadLine(); }
    public static string[] Strs() { return Console.ReadLine().Split(); }
}

Submission Info

Submission Time
Task A - Where's Snuke?
User rayhotate
Language C# (Mono 4.6.2.0)
Score 0
Code Size 1250 Byte
Status WA
Exec Time 23 ms
Memory 13268 KB

Judge Result

Set Name sample all
Score / Max Score 0 / 0 0 / 100
Status
WA × 2
WA × 11
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 WA 23 ms 9300 KB
01-02.txt WA 23 ms 11220 KB
01-03.txt WA 23 ms 11220 KB
01-04.txt WA 23 ms 11220 KB
01-05.txt WA 23 ms 13268 KB
01-06.txt WA 23 ms 11220 KB
01-07.txt WA 23 ms 11348 KB
sample-01.txt WA 23 ms 13268 KB
sample-02.txt WA 23 ms 9300 KB