結果

問題 No.734 Careful Engineer
ユーザー Apoi
提出日時 2019-02-02 07:54:44
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 240 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-06-20 00:45:43
合計ジャッジ時間 1,338 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
import sys
from math import ceil
handmade, p_make, p_dev = map(int, input().split())
handmade = 60 * handmade
p_dev = 3600 * p_dev
if handmade <= p_make:
    print(-1)
    sys.exit()
print(ceil(p_dev / (handmade - p_make)))
0