結果

問題 No.393 2本の竹
ユーザー tails
提出日時 2016-07-15 14:29:07
言語 Perl
(5.40.0)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 129 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 5,888 KB
実行使用メモリ 11,520 KB
最終ジャッジ日時 2024-12-23 14:50:40
合計ジャッジ時間 1,450 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 28
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "r" may clash with future reserved word at Main.pl line 1.
Unquoted string "r" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;($x,$y)=glob,<>,$s=$h=r,print grep(substr($h|=2x$_.$h,$a=$-=($s+=$_)-$y,$-=($s<$x?$s:$x)+1-$-)=~r,sort{$a-$b}glob<>).$/while<>
0