結果

問題 No.61 リベリオン
ユーザー tailstails
提出日時 2020-09-10 11:18:43
言語 Perl
(5.38.2)
結果
AC  
実行時間 2,740 ms / 5,000 ms
コード長 181 bytes
コンパイル時間 387 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 6,732 KB
最終ジャッジ日時 2023-08-24 14:42:30
合計ジャッジ時間 6,477 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,308 KB
testcase_01 AC 6 ms
5,176 KB
testcase_02 AC 6 ms
5,324 KB
testcase_03 AC 2,740 ms
6,732 KB
testcase_04 AC 2,737 ms
6,672 KB
testcase_05 AC 6 ms
5,220 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.
Possible precedence problem on bitwise & operator at Main.pl line 1.
Name "main::e" 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::f" 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 #

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