結果

問題 No.2533 A⇒B問題
ユーザー zezero
提出日時 2023-11-10 21:38:00
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 483 bytes
コンパイル時間 2,881 ms
コンパイル使用メモリ 159,048 KB
最終ジャッジ日時 2025-02-17 20:31:37
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <map>
#include <set>
#include <queue>
#include <iomanip>
#include <cstring>
#include <climits>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
typedef long long ll;
#define rep(i,n) for (int i = 0; i < int(n);i++)

int main(){
  unsigned int a,b;
  cin >> a >> b;
  if (((~a)|b) == UINT_MAX) cout << "Yes\n";
  else cout << "No\n" << endl;  

  return 0;
}
0