結果

問題 No.1048 Zero (Advanced)
ユーザー kcz146
提出日時 2020-06-17 01:59:24
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 408 bytes
コンパイル時間 2,980 ms
コンパイル使用メモリ 191,616 KB
最終ジャッジ日時 2025-01-11 04:48:36
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;
using ll = long long int;
using lc = complex<double>;

int main(void) {
    constexpr ll MOD = 1e9 + 7;
    constexpr double PI = acos(-1);
    cout << fixed << setprecision(32);
    cin.tie(0); ios::sync_with_stdio(false);

    ll l, r, m, k;
    cin >> l >> r >> m >> k;
    ll a = l*k, b = r*k;
    cout << (a/m != b/m || a%m == 0 ? "Yes" : "No" ) << endl;
}
0