結果
| 問題 | No.3171 Color Restoration |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2025-06-06 22:17:56 |
| 言語 | Perl (5.42.1) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| + 844µs | |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 5 ms |
| コンパイル使用メモリ | 7,212 KB |
| 実行使用メモリ | 9,396 KB |
| 最終ジャッジ日時 | 2026-07-12 07:03:29 |
| 合計ジャッジ時間 | 1,999 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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
ソースコード
$$_=$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
tails