結果

問題 No.581 XOR
ユーザー mkawa2mkawa2
提出日時 2020-10-31 12:26:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 20 ms / 2,000 ms
コード長 726 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,904 KB
実行使用メモリ 8,732 KB
最終ジャッジ日時 2023-09-29 10:21:40
合計ジャッジ時間 1,041 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,664 KB
testcase_01 AC 19 ms
8,704 KB
testcase_02 AC 20 ms
8,576 KB
testcase_03 AC 19 ms
8,532 KB
testcase_04 AC 19 ms
8,544 KB
testcase_05 AC 20 ms
8,732 KB
testcase_06 AC 19 ms
8,536 KB
testcase_07 AC 20 ms
8,564 KB
testcase_08 AC 19 ms
8,708 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from operator import itemgetter
from itertools import *
from bisect import *
from collections import *
from heapq import *
import sys

# input=sys.stdin.buffer.readline
input=sys.stdin.readline

sys.setrecursionlimit(10**6)
int1 = lambda x: int(x)-1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return input()[:-1]
def LLI1(rows_number): return [LI1() for _ in range(rows_number)]
dij = [(1, 0), (0, 1), (-1, 0), (0, -1)]

a,c=MI()
print(a^c)
0