結果

問題 No.734 Careful Engineer
ユーザー nonokai10
提出日時 2018-09-30 14:12:26
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 247 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-06-20 00:44:39
合計ジャッジ時間 1,232 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

a,b,c = map(int, input().split())
a = a*60
c = c*60*60

if a != b:
    x = math.ceil(c/(a-b))
    print(x if x > 0 else -1)
else:
    print(-1)
0