結果

問題 No.61 リベリオン
コンテスト
ユーザー 👑 tails
提出日時 2020-09-10 11:28:16
言語 Perl
(5.44.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 2,831 ms / 5,000 ms
+ 584µs
コード長 180 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 8 ms
コンパイル使用メモリ 7,724 KB
実行使用メモリ 7,680 KB
最終ジャッジ日時 2026-10-17 20:12:54
合計ジャッジ時間 7,640 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "j" may clash with future reserved word at Main.pl line 1.
Name "main::f" used only once: possible typo at Main.pl line 1.
Name "main::d" used only once: possible typo at Main.pl line 1.
Name "main::e" used only once: possible typo at Main.pl line 1.
Name "main::g" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

<>;for$l(<>){$$_=<+$l>for a..j;$h%$_|$i%$_||($h/=-$_,$i/=-$_,$c*=-$_)for-13..-2;print[1..($c<900?$c:900)]~~sub{$a-$d-abs$a-($f+=$h)%(2*$a)|$b-$e-abs$b-($g+=$i)%(2*$b)}?Miss:Hit,$/}
0