結果
| 問題 |
No.2533 A⇒B問題
|
| コンテスト | |
| ユーザー |
yupooh
|
| 提出日時 | 2023-11-10 21:56:58 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 201 bytes |
| コンパイル時間 | 443 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-09-26 01:28:17 |
| 合計ジャッジ時間 | 2,093 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
import sys
input = sys.stdin.readline
a,b=map(int,input().split())
flg=True
for i in range(30):
if (a>>i)&1:
if (b>>i)&1==0:
flg=False
break
if flg:
print("Yes")
else:
print("No")
yupooh