結果

問題 No.734 Careful Engineer
ユーザー tkr182
提出日時 2018-10-03 23:38:59
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 359 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 10,112 KB
最終ジャッジ日時 2025-06-20 00:44:57
合計ジャッジ時間 1,485 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c=map(int,input().split())
if a*60<=b:
    print(-1)
else:
    print(c*3600//(a*60-b)+1 if c*3600%(a*60-b)!=0 else c*3600//(a*60-b))
0