結果

問題 No.734 Careful Engineer
ユーザー _KingdomOfMoray
提出日時 2020-01-04 08:55:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-06-20 00:46:21
合計ジャッジ時間 1,312 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

input_list = list(map(int,input().split()))
a, b, c = input_list

res = None

if 60 * a - b <= 0:
    res = -1
else:
    res = math.ceil(60 ** 2 * c / (60 * a - b) + 1e-9)
    
print(res)
0