結果
問題 | No.795 Restrictions!!!!!!!!!!!!!! |
ユーザー |
|
提出日時 | 2019-03-18 21:30:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 413 bytes |
コンパイル時間 | 589 ms |
コンパイル使用メモリ | 64,116 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-19 04:49:49 |
合計ジャッジ時間 | 2,251 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
#include <iostream> using namespace std; typedef long long LL; int main(int argc, char* argv[]) { LL N,M; cin>>N>>M; if (N%2==0){ if (M%2==0){ cout<<"Yes"<<endl; return 0; }else{ cout<<"No"<<endl; return 0; } }else{ if (N>1){ N=1; } if (10*M<100){ cout<<"No"<<endl; return 0; } if ((10*M-100)%2==0){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl; } } return 0; }