結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
|
提出日時 | 2020-03-29 16:35:49 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 296 bytes |
コンパイル時間 | 1,601 ms |
コンパイル使用メモリ | 160,296 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-02 15:20:05 |
合計ジャッジ時間 | 2,635 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 9 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for (int i=0; i<(n); ++i) using namespace std; using ll=long long; int main(){ int n,m; cin>>n>>m; string ans="No"; if(n%2==0&&m%2==0){ ans="Yes"; } else if(n%2!=0&&m%10==0){ ans="Yes"; } cout<<ans<<endl; }