結果

問題 No.734 Careful Engineer
ユーザー takubokudori
提出日時 2018-10-05 18:45:25
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 54,504 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-12 12:43:02
合計ジャッジ時間 1,024 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 9 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

typedef long long ll;

int main(void){
	ll a,b,c;
	cin>>a>>b>>c;
	a*=60LL;
	c*=3600LL;
	ll k=c/(a-b)+1LL;
	cout<<((k<0LL)?(-1):(k))<<endl;
	return 0;
}
0