結果
| 問題 | No.1954 CHECKER×CHECKER(2) |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2022-05-24 14:25:30 |
| 言語 | Perl (5.44.0) |
| 結果 |
AC
|
| 実行時間 | 5 ms / 1,000 ms |
| + 800µs | |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 666 ms |
| コンパイル使用メモリ | 7,732 KB |
| 実行使用メモリ | 9,712 KB |
| 最終ジャッジ日時 | 2026-08-31 20:06:04 |
| 合計ジャッジ時間 | 2,630 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 |
コンパイルメッセージ
Reversed /= operator at Main.pl line 5. Main.pl syntax OK
ソースコード
sub x{exit!print"No"}
($h,$w)=glob<>;
@s=<>;
($s[0]^$s[$_])=~/^(.)\1*.$/||x for 1..$h-1;
$t[$`][$']=/ / for@s[$h+1..$#s];
$t[1][$_]|$s[$_-1]ne$s[$_]||x for 1..$h-1;
$t[2][$_]|vec($s[0],$_-1,8)-vec($s[0],$_,8)||x for 1..$w-1;
print"Yes";
tails