結果
問題 |
No.734 Careful Engineer
|
ユーザー |
|
提出日時 | 2018-09-28 21:31:05 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 349 bytes |
コンパイル時間 | 83 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 15,872 KB |
最終ジャッジ日時 | 2024-10-12 06:30:15 |
合計ジャッジ時間 | 3,567 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 4 |
other | AC * 1 TLE * 1 -- * 8 |
ソースコード
from sys import stdin def main(): A, B, C = map(int, input().split()) a = A * 60 c = C * 3600 if a <= B: print(-1) return x = 1 while 1: case1 = a * x case2 = B * x + c if case1 > case2: print(x) break x += 1 input = lambda: stdin.readline() main()