結果
問題 |
No.67 よくある棒を切る問題 (1)
|
ユーザー |
![]() |
提出日時 | 2017-09-29 05:23:01 |
言語 | Perl (5.40.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 109 bytes |
コンパイル時間 | 384 ms |
コンパイル使用メモリ | 8,732 KB |
実行使用メモリ | 58,624 KB |
最終ジャッジ日時 | 2025-03-03 10:55:21 |
合計ジャッジ時間 | 36,307 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 WA * 4 |
コンパイルメッセージ
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..50){ $m=($l+$r)/2; $k=0; $k+=$_/$m|0for@L; ${$k>=$K?l:r}=$m } print$m