結果

問題 No.734 Careful Engineer
ユーザー surprise_tanakasurprise_tanaka
提出日時 2018-11-24 20:23:35
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 199 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 7,896 KB
最終ジャッジ日時 2023-08-26 04:59:02
合計ジャッジ時間 1,165 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,864 KB
testcase_01 WA -
testcase_02 AC 16 ms
7,764 KB
testcase_03 AC 15 ms
7,704 KB
testcase_04 AC 15 ms
7,736 KB
testcase_05 AC 16 ms
7,776 KB
testcase_06 AC 15 ms
7,896 KB
testcase_07 AC 15 ms
7,804 KB
testcase_08 AC 15 ms
7,708 KB
testcase_09 AC 16 ms
7,844 KB
testcase_10 AC 15 ms
7,840 KB
testcase_11 AC 15 ms
7,716 KB
testcase_12 AC 15 ms
7,704 KB
testcase_13 AC 16 ms
7,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C = map(int,input().split())
if 60 * A < B:
    print(-1)
else:
    answer = (3600 * C) / (60 * A - B)
    if int(answer) == answer:
        print(answer)
    else:
        print(int(answer) + 1)
0