結果
問題 | No.734 Careful Engineer |
ユーザー |
![]() |
提出日時 | 2023-08-21 12:53:48 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 263 bytes |
コンパイル時間 | 2,562 ms |
コンパイル使用メモリ | 106,152 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-20 01:43:07 |
合計ジャッジ時間 | 3,317 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
#include<iostream> #include<map> #include<vector> #include <algorithm> #include<math.h> using namespace std; int main() { long long a, b, c, t; cin >> a >> b >> c; t = ceil((double)c*60*60/(a*60 - b)); cout << ((a*60 <= b) ? -1 : t) << endl; }