본문 바로가기

코드업 기초 100제

1062 : [기초-비트단위논리연산] 비트단위로 XOR 하여 출력하기

#include <iostream>

using namespace std;

int main() {
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d",a^b);
    
    return 0;
}