結果
| 問題 |
No.734 Careful Engineer
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-27 03:39:11 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 347 bytes |
| コンパイル時間 | 2,098 ms |
| コンパイル使用メモリ | 191,884 KB |
| 最終ジャッジ日時 | 2025-02-07 16:53:18 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 10 WA * 1 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main(){
cin.tie(0);
ios::sync_with_stdio(0);
ll A,B,C; cin >> A >> B >> C; A *= 60; C *= 3600;
if(A <= B) {
cout << -1 << endl;
} else {
cout << (C + A - B + 1) / (A - B) << endl;
}
}