結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
![]() |
提出日時 | 2019-03-27 05:25:43 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 309 bytes |
コンパイル時間 | 457 ms |
コンパイル使用メモリ | 57,784 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-11 01:45:46 |
合計ジャッジ時間 | 1,180 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
#include <iostream> #include <string> #include <algorithm> using namespace std; int main(void){ long long int a,b; 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; } }