CODE FESTIVAL 2016 Final

Submission #2947252

Source codeソースコード

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

Task問題 A - Where's Snuke?
User nameユーザ名 luogu_bot2
Created time投稿日時
Language言語 Pascal (FPC 2.6.2)
Status状態 AC
Score得点 100
Source lengthソースコード長 477 Byte
File nameファイル名
Exec time実行時間 0 ms
Memory usageメモリ使用量 128 KB

Compiler messageコンパイルメッセージ

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

Test case

Set

Set name Score得点 / Max score Cases
sample - sample-01.txt,sample-02.txt
all 100 / 100 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

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
01-01.txt AC
01-02.txt AC
01-03.txt AC
01-04.txt AC
01-05.txt AC
01-06.txt AC
01-07.txt AC
sample-01.txt AC
sample-02.txt AC