結果

問題 No.157 2つの空洞
ユーザー %20
提出日時 2017-10-02 04:12:35
言語 Perl
(5.40.0)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 160 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 6,820 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-15 22:06:46
合計ジャッジ時間 1,104 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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 #

$%=$_=`dd`;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