結果

問題 No.1511 A ? B Problem
ユーザー U SU S
提出日時 2021-05-21 21:27:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 405 bytes
コンパイル時間 235 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 60,672 KB
最終ジャッジ日時 2024-04-18 14:28:34
合計ジャッジ時間 1,757 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
60,288 KB
testcase_01 AC 54 ms
59,904 KB
testcase_02 AC 51 ms
60,160 KB
testcase_03 AC 53 ms
59,932 KB
testcase_04 AC 52 ms
60,544 KB
testcase_05 AC 51 ms
60,160 KB
testcase_06 AC 48 ms
60,288 KB
testcase_07 AC 44 ms
60,544 KB
testcase_08 AC 50 ms
59,904 KB
testcase_09 AC 55 ms
60,416 KB
testcase_10 AC 48 ms
60,032 KB
testcase_11 AC 47 ms
60,672 KB
testcase_12 AC 44 ms
59,904 KB
testcase_13 AC 46 ms
60,160 KB
testcase_14 AC 51 ms
60,160 KB
testcase_15 AC 50 ms
59,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1
inf = int(1e30)
mod = 998244353

a,b = mp()
print((a|b)-(a&b))
0