結果

問題 No.989 N×Mマス計算(K以上)
ユーザー tailstails
提出日時 2020-07-30 22:13:28
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 138 bytes
コンパイル時間 395 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 88,612 KB
最終ジャッジ日時 2023-09-18 05:13:40
合計ジャッジ時間 4,120 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
9,608 KB
testcase_01 TLE -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::m" used only once: possible typo at Main.pl line 1.
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($n,$m,$k,$o,@b)=glob<>.<>;--$k;print+(map{$_+=$_&-$_ until$#{$_}++,$_>$k}@b)*(map{$-=v27^$o?$k/$_:$k-$_;0while$a+=@{$-},$--=$-&-$-}<>)-$a
0