結果
| 問題 | No.795 Restrictions!!!!!!!!!!!!!! |
| コンテスト | |
| ユーザー |
キョウチク
|
| 提出日時 | 2019-04-09 17:26:23 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 295 bytes |
| 記録 | |
| コンパイル時間 | 397 ms |
| コンパイル使用メモリ | 54,140 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-04 03:07:14 |
| 合計ジャッジ時間 | 1,386 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 20 |
ソースコード
#include<iostream>
using namespace std;
int main() {
int N;
int M;
cin >> N >> M;
if (M % 2 == 1) {
cout << "No" << endl;
}
else if (N % 2 == 1) {
if (M / 10 == 0) {
cout << "No" << endl;
}
else {
cout << "Yes" << endl;
}
}
else {
cout << "Yes" << endl;
}
return 0;
}
キョウチク