Submission #3428018


Source Code Expand

using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
 
public class Hello{
    public static void Main(){
        string[] input = ReadLine().Split(' ');
        int n = int.Parse(input[0]);
        int m = int.Parse(input[1]);
//        int a = int.Parse(input[2]);
//        int b = int.Parse(input[3]);*/
//        string temp = ReadLine();
//        int a = int.Parse(ReadLine());
//        int b = int.Parse(ReadLine());
//        int c = int.Parse(ReadLine());
//        int d = int.Parse(ReadLine());
//        string a = ReadLine();
//        string b = ReadLine();
//        string c = ReadLine();
        string ko = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
        for(int i=0;i<n;i++){
            string[] temp = ReadLine().Split(' ');
            for(int j=0;j<m;j++){
                if(temp[j] == "snuke"){
                    WriteLine("{0}{1}",ko[j],i+1);
                    break;
                }
            }
        }
    }
}

Submission Info

Submission Time
Task A - Where's Snuke?
User clolin
Language C# (Mono 4.6.2.0)
Score 100
Code Size 1040 Byte
Status AC
Exec Time 21 ms
Memory 13140 KB

Judge Result

Set Name sample all
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 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 AC 20 ms 9044 KB
01-02.txt AC 20 ms 11092 KB
01-03.txt AC 21 ms 11092 KB
01-04.txt AC 21 ms 13140 KB
01-05.txt AC 21 ms 11092 KB
01-06.txt AC 21 ms 11092 KB
01-07.txt AC 21 ms 13140 KB
sample-01.txt AC 21 ms 11092 KB
sample-02.txt AC 21 ms 11092 KB