結果
| 問題 |
No.67 よくある棒を切る問題 (1)
|
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2017-09-29 05:24:30 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 1,990 ms / 5,000 ms |
| コード長 | 109 bytes |
| コンパイル時間 | 127 ms |
| コンパイル使用メモリ | 6,820 KB |
| 実行使用メモリ | 58,624 KB |
| 最終ジャッジ日時 | 2025-03-03 10:56:27 |
| 合計ジャッジ時間 | 41,302 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
コンパイルメッセージ
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..60){
$m=($l+$r)/2;
$k=0;
$k+=$_/$m|0for@L;
${$k>=$K?l:r}=$m
}
print$m
%20