結果

問題 No.3171 Color Restoration
コンテスト
ユーザー 👑 tails
提出日時 2025-06-06 22:17:56
言語 Perl
(5.40.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 151 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 379 ms
コンパイル使用メモリ 8,096 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-06-17 18:53:20
合計ジャッジ時間 1,964 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "grblyerebrcyorvi" may clash with future reserved word at Main.pl line 1.
Unquoted string "z" may clash with future reserved word at Main.pl line 1.
Unquoted string "ccc" may clash with future reserved word at Main.pl line 1.
Useless use of single ref constructor in void context at Main.pl line 1.
Name "main::i" 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

$$_=$i++for grblyerebrcyorvi=~/../g;($a,$b,$c)=map$$_,<>=~/\b\w./g;/a/&/b/&/c/&&\$a{s/./${$&}/gr}for z..ccc;print~-grep(/[^7][0-3][^24]/,keys%a)?No:Yes
0