結果

問題 No.1048 Zero (Advanced)
ユーザー forest3
提出日時 2020-07-03 15:26:00
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 308 bytes
コンパイル時間 1,739 ms
コンパイル使用メモリ 166,220 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-16 17:04:58
合計ジャッジ時間 2,318 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main()
{
	long long L, R, M, K;
	cin >> L >> R >> M >> K;

	string ans = "Yes";
	if( K == 0 ) {
	}
	else {
		long long l = L * K;
		long long r = R * K;
		if( l == 0 ) {
		}
		else {
			if( (l - 1) / M == r / M ) ans = "No";
		}
	}

	cout << ans << endl;
}
0