結果

問題 No.23 技の選択
ユーザー mlihua09mlihua09
提出日時 2020-09-18 16:18:22
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 124 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 71,664 KB
最終ジャッジ日時 2023-09-04 08:54:06
合計ジャッジ時間 4,458 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,216 KB
testcase_01 AC 78 ms
71,540 KB
testcase_02 AC 75 ms
71,404 KB
testcase_03 AC 75 ms
71,020 KB
testcase_04 AC 73 ms
71,068 KB
testcase_05 AC 75 ms
71,296 KB
testcase_06 AC 74 ms
71,536 KB
testcase_07 AC 74 ms
71,304 KB
testcase_08 AC 73 ms
71,036 KB
testcase_09 AC 72 ms
71,472 KB
testcase_10 WA -
testcase_11 AC 74 ms
71,292 KB
testcase_12 AC 77 ms
71,472 KB
testcase_13 AC 73 ms
71,296 KB
testcase_14 AC 75 ms
71,368 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 76 ms
71,332 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 76 ms
71,532 KB
testcase_21 WA -
testcase_22 AC 74 ms
71,232 KB
testcase_23 AC 75 ms
71,064 KB
testcase_24 AC 76 ms
71,212 KB
testcase_25 AC 74 ms
71,300 KB
testcase_26 AC 78 ms
71,400 KB
testcase_27 AC 75 ms
71,208 KB
testcase_28 AC 73 ms
71,376 KB
testcase_29 AC 76 ms
71,320 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 76 ms
71,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


H, A, D = map(int, input().split())

print(min([((H - A * i - 1) // D + 1) * 3 / 2 + i for i in range((H - 1) // A + 2)]))
0