結果

問題 No.989 N×Mマス計算(K以上)
ユーザー tails
提出日時 2020-07-30 22:13:28
言語 Perl
(5.40.0)
結果
TLE  
実行時間 -
コード長 138 bytes
コンパイル時間 219 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 91,968 KB
最終ジャッジ日時 2024-07-04 21:45:47
合計ジャッジ時間 3,702 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 TLE * 1
other -- * 18
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Name "main::m" 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