結果

問題 No.351 市松スライドパズル
コンテスト
ユーザー 👑 tails
提出日時 2017-06-15 14:09:36
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 755 ms / 2,000 ms
コード長 88 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 216 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 154,240 KB
最終ジャッジ日時 2026-04-12 05:49:05
合計ジャッジ時間 9,228 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 17
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "black" may clash with future reserved word at Main.pl line 1.
Unquoted string "white" may clash with future reserved word at Main.pl line 1.
Name "main::R" used only once: possible typo at Main.pl line 1.
Name "main::C" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

@w{C,R}=glob<>;/ /?(${$`}-=${C^R^$`}==$')%=$w{$`}:print$C+$R&1?black:white for reverse<>
0