結果
| 問題 | No.2533 A⇒B問題 |
| コンテスト | |
| ユーザー |
KDKJ
|
| 提出日時 | 2023-11-29 15:21:49 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 527 bytes |
| 記録 | |
| コンパイル時間 | 293 ms |
| コンパイル使用メモリ | 96,200 KB |
| 実行使用メモリ | 79,360 KB |
| 最終ジャッジ日時 | 2026-09-04 20:39:50 |
| 合計ジャッジ時間 | 4,244 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 3 |
ソースコード
from heapq import heappush, heappop, heapify
import sys
from collections import defaultdict, deque
from math import ceil, floor, sqrt, factorial, gcd
from itertools import permutations, combinations
from bisect import bisect_left, bisect_right
sys.setrecursionlimit(10**6)
# input = sys.stdin.readline
a, b = map(int, input().split())
A = bin(a)[2:]
B = bin(b)[2:]
# print(A, B)
l = len(B)
for i in range(len(A)):
if A[i] == "1":
if i >= l or B[i] != "1":
print("No")
exit()
print("Yes")
KDKJ