結果
問題 | No.734 Careful Engineer |
ユーザー |
![]() |
提出日時 | 2020-07-03 00:46:29 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 1,291 ms |
コンパイル使用メモリ | 159,368 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-18 00:10:49 |
合計ジャッジ時間 | 2,171 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 10 RE * 1 |
ソースコード
#include <bits/stdc++.h>#define PI 3.14159265359using namespace std;int main() {int64_t A, B, C;cin >> A >> B >> C;A *= 60;C *= 3600;int64_t x = (C + (A - B) - 1) / (A - B);if (x < 0) x = -1;cout << x << endl;}