結果
| 問題 |
No.1048 Zero (Advanced)
|
| コンテスト | |
| ユーザー |
forest3
|
| 提出日時 | 2020-07-03 15:22:10 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 340 bytes |
| コンパイル時間 | 1,592 ms |
| コンパイル使用メモリ | 166,340 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-16 17:04:55 |
| 合計ジャッジ時間 | 2,265 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 WA * 1 |
ソースコード
#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 ) {
if( r / M == 0 ) ans = "No";
}
else {
if( (l - 1) / M == r / M ) ans = "No";
}
}
cout << ans << endl;
}
forest3