結果

問題 No.734 Careful Engineer
ユーザー utsumidaisuke
提出日時 2018-12-19 22:49:48
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 202 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,564 KB
最終ジャッジ日時 2024-09-25 08:10:27
合計ジャッジ時間 3,565 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 4
other AC * 1 TLE * 1 -- * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if 60*a <= b:
    print(-1)

else:
    cnt = 1
    while True:
        if cnt*(60*a-b) >= (3600*c):
            break
        else:
            cnt+=1
    print(cnt)
0