結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
![]() |
提出日時 | 2019-03-15 21:27:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 356 bytes |
コンパイル時間 | 1,476 ms |
コンパイル使用メモリ | 164,808 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-01 20:20:46 |
合計ジャッジ時間 | 2,320 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; using LL = long long; int main(){ int N,M;cin >> N >> M; cout<<"Yes"<<endl; return 0; 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; } }