結果
問題 | No.61 リベリオン |
ユーザー | tails |
提出日時 | 2020-09-10 11:12:06 |
言語 | Perl (5.38.2) |
結果 |
AC
|
実行時間 | 4,240 ms / 5,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 1,349 ms |
コンパイル使用メモリ | 5,308 KB |
実行使用メモリ | 6,776 KB |
最終ジャッジ日時 | 2023-08-24 14:09:36 |
合計ジャッジ時間 | 9,411 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 6 ms
5,212 KB |
testcase_01 | AC | 6 ms
5,080 KB |
testcase_02 | AC | 7 ms
5,016 KB |
testcase_03 | AC | 4,230 ms
6,592 KB |
testcase_04 | AC | 4,240 ms
6,776 KB |
testcase_05 | AC | 6 ms
5,120 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. Name "main::j" used only once: possible typo at Main.pl line 1. Name "main::g" 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::e" used only once: possible typo at Main.pl line 1. Name "main::d" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
<>;for$l(<>){$$_=<+$l>for a..j;$h%$_|$i%$_||($h/=-$_,$i/=-$_,$c*=-$_)for-13..-2;%a=0;$a{abs$a-($f+=$h)%(2*$a),abs$b-($g+=$i)%(2*$b)}++while$c--&&$j++<900;print$a{$a-$d,$b-$e}?Hit:Miss,$/}