結果
問題 | No.734 Careful Engineer |
ユーザー |
|
提出日時 | 2018-09-28 21:38:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 320 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-06-20 00:43:32 |
合計ジャッジ時間 | 1,406 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
import sys,collections,math;sys.setrecursionlimit(10**7) def Is(): return [int(x) for x in sys.stdin.readline().split()] def Ss(): return sys.stdin.readline().split() def I(): return int(sys.stdin.readline()) def S(): return input() a,b,c = Is() if 60*a <= b: print(-1) exit() print(math.ceil(3600*c/(60*a-b)))