結果
| 問題 |
No.396 クラス替え
|
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-05-16 15:13:27 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 193 bytes |
| コンパイル時間 | 3,651 ms |
| コンパイル使用メモリ | 274,740 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-05-16 15:13:32 |
| 合計ジャッジ時間 | 4,324 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n,m,x,y;
string ans[]={"NO","YES"};
int main(){
cin>>n>>m>>x>>y;
x%=(m*2),y%=(m*2);
cout<<ans[(x==y||(x+y==m*2+1))];
}
vjudge1