結果
| 問題 | No.795 Restrictions!!!!!!!!!!!!!! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-11 03:36:37 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 388 bytes |
| 記録 | |
| コンパイル時間 | 1,711 ms |
| コンパイル使用メモリ | 194,256 KB |
| 最終ジャッジ日時 | 2025-01-14 09:26:13 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 20 |
ソースコード
#include <bits/stdc++.h>
#define rep(i, ss, ee) for (int i = ss; i < ee; ++i)
using namespace std;
void solve() {
int a, b;
cin >> a >> b;
string ans = "No";
if (a % 2 == 0 && b % 2 == 0)
ans = "Yes";
else if (a % 2 == 1 && b % 2 == 0 && b >= 10)
ans = "Yes";
cout << ans << endl;
}
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
solve();
getchar();
}