結果

問題 No.351 市松スライドパズル
ユーザー tailstails
提出日時 2017-06-15 14:09:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,145 ms / 2,000 ms
コード長 88 bytes
コンパイル時間 1,194 ms
コンパイル使用メモリ 6,152 KB
実行使用メモリ 154,244 KB
最終ジャッジ日時 2023-10-25 06:48:16
合計ジャッジ時間 13,949 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,131 ms
154,244 KB
testcase_01 AC 7 ms
6,184 KB
testcase_02 AC 6 ms
6,184 KB
testcase_03 AC 7 ms
6,184 KB
testcase_04 AC 6 ms
6,184 KB
testcase_05 AC 7 ms
6,180 KB
testcase_06 AC 7 ms
6,184 KB
testcase_07 AC 7 ms
6,184 KB
testcase_08 AC 7 ms
6,184 KB
testcase_09 AC 7 ms
6,188 KB
testcase_10 AC 7 ms
6,184 KB
testcase_11 AC 7 ms
6,184 KB
testcase_12 AC 7 ms
6,184 KB
testcase_13 AC 1,082 ms
150,868 KB
testcase_14 AC 1,110 ms
151,728 KB
testcase_15 AC 1,119 ms
154,164 KB
testcase_16 AC 1,132 ms
154,224 KB
testcase_17 AC 1,145 ms
154,224 KB
testcase_18 AC 1,129 ms
154,228 KB
testcase_19 AC 1,119 ms
154,232 KB
testcase_20 AC 1,144 ms
154,228 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 #

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