Submission #3017133


Source Code Expand

Copy
var
 i,n,m,j,y,k,x:longint;
 s,s1:string;
begin
 readln(n,m);
 for i:=1 to n do
  begin
   readln(s);
   for j:=1 to m-1 do
    begin
     x:=pos(' ',s);
     s1:=copy(s,1,x-1);
     if s1='snuke' then begin y:=i;k:=j; end;
     delete(s,1,x);
    end;
   if s='snuke' then begin y:=i;k:=j; end;
  end;
 writeln(chr(k+64),y);
end.

Submission Info

Submission Time
Task A - Where's Snuke?
User luogu_bot5
Language Pascal (FPC 2.6.2)
Score 100
Code Size 348 Byte
Status
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
× 2
× 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 0 ms 128 KB
01-02.txt 0 ms 128 KB
01-03.txt 0 ms 128 KB
01-04.txt 0 ms 128 KB
01-05.txt 0 ms 128 KB
01-06.txt 0 ms 128 KB
01-07.txt 0 ms 128 KB
sample-01.txt 0 ms 128 KB
sample-02.txt 0 ms 128 KB