結果
問題 | No.67 よくある棒を切る問題 (1) |
ユーザー | %20 |
提出日時 | 2017-09-29 05:19:32 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 2,815 ms / 5,000 ms |
コード長 | 110 bytes |
コンパイル時間 | 404 ms |
コンパイル使用メモリ | 5,888 KB |
実行使用メモリ | 58,624 KB |
最終ジャッジ日時 | 2024-11-08 12:19:51 |
合計ジャッジ時間 | 58,090 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
コンパイルメッセージ
Unquoted string "l" may clash with future reserved word at Main.pl line 7. Unquoted string "r" may clash with future reserved word at Main.pl line 7. Name "main::l" used only once: possible typo at Main.pl line 4. Main.pl syntax OK
ソースコード
<>;@L=glob<>;$K=<>; $r=1e9; for(1..100){ $m=($l+$r)/2; $k=0; $k+=$_/$m|0for@L; ${$k>=$K?l:r}=$m } print$m