Submission #3181745


Source Code Expand

#include <bits/stdc++.h>
#define FOR(I,X,Y) for(int (I)=(X);(I)<(Y);(I)++)
#define REP(I,X,Y) for(int (I)=(Y)-1;(I)>=(X);(I)--)
#define ALL(X) (X).begin(),(X).end()
#define INF 1000000007
#define LINF 1000000000000000007
typedef long long ll;
using namespace std;

int main(){
  int H,W;
  string S;
  cin >> H >> W;
  FOR(i,1,H+1)for(char c = 'A';c < 'A'+W;c++){
    cin >> S;
    if(S == "snuke"){
      cout << c << i << endl;
      return 0;
    }
  }
}

Submission Info

Submission Time
Task A - Where's Snuke?
User nu50218
Language Python (3.4.3)
Score 0
Code Size 479 Byte
Status RE
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name sample all
Score / Max Score 0 / 0 0 / 100
Status
RE × 2
RE × 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 RE 17 ms 2940 KB
01-02.txt RE 17 ms 2940 KB
01-03.txt RE 17 ms 2940 KB
01-04.txt RE 16 ms 2940 KB
01-05.txt RE 16 ms 2940 KB
01-06.txt RE 16 ms 2940 KB
01-07.txt RE 17 ms 2940 KB
sample-01.txt RE 16 ms 2940 KB
sample-02.txt RE 17 ms 2940 KB