結果

問題 No.989 N×Mマス計算(K以上)
コンテスト
ユーザー 👑 tails
提出日時 2020-07-30 22:13:28
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
TLE  
実行時間 -
コード長 138 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 320 ms
コンパイル使用メモリ 7,844 KB
実行使用メモリ 253,328 KB
最終ジャッジ日時 2026-03-26 04:17:11
合計ジャッジ時間 32,886 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 TLE * 1
other AC * 9 TLE * 9
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 #
raw source code

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