結果
問題 |
No.734 Careful Engineer
|
ユーザー |
|
提出日時 | 2018-10-13 17:34:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 287 bytes |
コンパイル時間 | 242 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 15,744 KB |
最終ジャッジ日時 | 2024-10-12 18:08:03 |
合計ジャッジ時間 | 3,771 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 4 |
other | AC * 1 TLE * 1 -- * 8 |
ソースコード
import sys l = list(map(int,input().split())) a, b, c = l[0], l[1], l[2] task = 1 if a * 60 < b: print(-1) sys.exit() while True: hand_time = a * 60 * task code_time = (3600 * c) + (b * task) if code_time < hand_time: print(task) break task += 1