結果

問題 No.1730 GCD on Blackboard in yukicoder
コンテスト
ユーザー 👑 tails
提出日時 2021-11-12 18:20:03
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
TLE  
実行時間 -
コード長 113 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 92 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 85,768 KB
最終ジャッジ日時 2026-05-19 18:06:28
合計ジャッジ時間 28,303 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11 TLE * 5 -- * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #
raw source code

$n=<>;$_++for@b[glob<>];map{$j=$t=0;$t+=$b[$j]while($j+=$_)<@b;$d[$n-$t]=$_}1..@b;pop@d;print$x+=$-=$_-$x,$/for@d
0