結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
![]() |
提出日時 | 2019-03-27 05:24:24 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 309 bytes |
コンパイル時間 | 452 ms |
コンパイル使用メモリ | 56,820 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-11 01:45:36 |
合計ジャッジ時間 | 1,193 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
#include <iostream> #include <string> #include <algorithm> using namespace std; int main(void){ int a,b,c,d,ans=0; cin>>a>>b; if(a%2==0 && b%2==0){ cout<<"Yes"<<endl; }else if(a%2==1 && (b-10)>=0 && (b-10)%2==0){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl; } }