結果
| 問題 |
No.734 Careful Engineer
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-08-01 01:27:01 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| コンパイル時間 | 2,194 ms |
| コンパイル使用メモリ | 192,572 KB |
| 最終ジャッジ日時 | 2025-01-07 10:24:04 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | WA * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin>>a>>b>>c;
a *= 60;
c *= 3600;
if (a <= b) puts("-1");
else cout << c+a-b-1 / (a-b) << endl;
return 0;
}