結果

問題 No.734 Careful Engineer
ユーザー kuramubonn
提出日時 2023-02-17 10:05:22
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 714 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-19 05:59:46
合計ジャッジ時間 1,252 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 3 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include<cmath>
using namespace std;
int main() {
	int a, b, c;
	cin >> a >> b >> c;
	a *= 60;
	c *= 3600;
	if (a < b) {
		cout << -1 << endl;
		return 0;
	}
	cout << ceil(((float)c / (b - a)) * -1);
}
0