Submission #2947252


Source Code Expand

var
 ch1,ch2,ch3,ch4,ch5,ch6:char;
 n,m,i,j,k1,k2:longint;
begin
 readln(n,m);
 for i:=1 to n do
 begin
  for j:=1 to m-1 do
   begin
    read(ch1,ch2,ch3,ch4,ch5,ch6);
    if (ch1='s') and (ch2='n') and (ch3='u') and (ch4='k') and (ch5='e') then begin k1:=i;k2:=j;end;
   end;
    read(ch1,ch2,ch3,ch4,ch5);
    if (ch1='s') and (ch2='n') and (ch3='u') and (ch4='k') and (ch5='e') then begin k1:=i;k2:=j;end;
   readln;
   end;
   writeln(chr(k2+64),k1);
end.

Submission Info

Submission Time
Task A - Where's Snuke?
User luogu_bot2
Language Pascal (FPC 2.6.2)
Score 100
Code Size 477 Byte
Status AC
Exec Time 0 ms
Memory 128 KB

Compile Error

/usr/bin/ld.bfd: warning: ./link.res contains output sections; did you forget -T?

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 0 ms 128 KB
01-02.txt AC 0 ms 128 KB
01-03.txt AC 0 ms 128 KB
01-04.txt AC 0 ms 128 KB
01-05.txt AC 0 ms 128 KB
01-06.txt AC 0 ms 128 KB
01-07.txt AC 0 ms 128 KB
sample-01.txt AC 0 ms 128 KB
sample-02.txt AC 0 ms 128 KB