結果

問題 No.157 2つの空洞
ユーザー %20
提出日時 2017-10-02 03:46:12
言語 Perl
(5.40.0)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2024-11-15 22:00:34
合計ジャッジ時間 1,332 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 16
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "g" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$/=$%=<>;$_=<>;s/\./	/;$e="(.{$%})?";($a,$b)=(v9,A..Z,a..g)[$i,$i+1],s/\.$e?	|	$e?\./	$1$2	/s||s/$a$e#/$a$1$b/s|s/#$e$a/$b$1$a/s||$i++until/\w$e?\.|\.$e\w/s;print$i+1
0