結果
問題 |
No.1101 鼻水
|
ユーザー |
![]() |
提出日時 | 2021-06-16 17:13:07 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 50 ms / 2,000 ms |
コード長 | 335 bytes |
コンパイル時間 | 240 ms |
コンパイル使用メモリ | 81,852 KB |
実行使用メモリ | 52,480 KB |
最終ジャッジ日時 | 2024-12-30 21:18:55 |
合計ジャッジ時間 | 2,595 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
V, T, P = map(int, input().split()) def is_ok(time): if (P+1)*V + (time-1)//T >= time: return True else: return False def meguru(ng, ok): while(abs(ng-ok) > 1): mid = (ng + ok) // 2 if is_ok(mid): ok = mid else: ng = mid return ng print(meguru(10**50, 0))