結果
| 問題 |
No.2533 A⇒B問題
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-10 23:09:16 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 370 bytes |
| コンパイル時間 | 1,822 ms |
| コンパイル使用メモリ | 165,028 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-26 02:11:15 |
| 合計ジャッジ時間 | 2,601 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
#include "bits/stdc++.h"
using namespace std;
#define int long long
int32_t main() {
cin.tie(0)->sync_with_stdio(0);
int a, b;
cin >> a >> b;
for (int i = 0; i < 30; ++i) {
if (a >> i & 1) {
if (b >> i & 1);
else {
cout << "No";
return 0;
}
}
}
cout << "Yes";
}