結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
![]() |
提出日時 | 2019-03-15 21:24:03 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 1,332 ms |
コンパイル使用メモリ | 157,524 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-01 20:15:09 |
合計ジャッジ時間 | 1,998 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; using LL = long long; int main(){ int N,M;cin >> N >> M; if(N%2 == 0 && M%2 == 0){ cout<<"Yes"<<endl; return 0; } int s = M/10; if((s+N)%2 == 0 && (M%10)%2 == 0){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl; } }