結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
![]() |
提出日時 | 2019-03-15 22:36:59 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 273 bytes |
コンパイル時間 | 1,408 ms |
コンパイル使用メモリ | 158,572 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-01 21:14:32 |
合計ジャッジ時間 | 2,019 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; if(n % 2 == 1 && m >= 10 && m % 2 == 0){ cout << "Yes" << endl; } else if(n % 2 == 0 && m % 2 == 0){ cout << "Yes" << endl; } else{ cout << "No" << endl; } }