結果

問題 No.3171 Color Restoration
コンテスト
ユーザー 👑 tails
提出日時 2025-06-06 22:45:11
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 2 ms / 2,000 ms
+ 498µs
コード長 117 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6 ms
コンパイル使用メモリ 9,276 KB
実行使用メモリ 9,408 KB
最終ジャッジ日時 2026-07-12 06:54:40
合計ジャッジ時間 1,801 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます
コンパイルメッセージ
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::c" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

($a,$b,$c)=<>=~/\b\w./g;/a/&/b/&/c/&&\$a{s/./${$&}/gr}for z..ccc;print~-grep(!/^v|^..(y|.*br|..[cov])/,keys%a)?No:Yes
0