結果

問題 No.734 Careful Engineer
ユーザー akitsugu777akitsugu777
提出日時 2019-06-27 13:29:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 247 ms
コンパイル使用メモリ 10,516 KB
実行使用メモリ 8,020 KB
最終ジャッジ日時 2023-09-10 00:06:28
合計ジャッジ時間 2,777 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,860 KB
testcase_01 WA -
testcase_02 AC 15 ms
7,788 KB
testcase_03 WA -
testcase_04 AC 15 ms
7,848 KB
testcase_05 AC 17 ms
7,816 KB
testcase_06 AC 15 ms
7,868 KB
testcase_07 AC 15 ms
7,868 KB
testcase_08 AC 234 ms
7,820 KB
testcase_09 AC 41 ms
7,968 KB
testcase_10 WA -
testcase_11 AC 15 ms
7,868 KB
testcase_12 AC 16 ms
7,960 KB
testcase_13 AC 16 ms
7,852 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

a *= 60
c *= 3600

for i in range(1000000):
    if a * i >= c + b * i:
        print(i)
        break
else:
    print(-1)
0