Update main.cpp
Update main.cpp

improve condition check

& operation is enough when checking two bit flags are disjoint set
두 비트 플래그에 공통 원소가 없음을 체크할 때, & 연산이면 된다
seirion/code,seirion/code,seirion/code,seirion/code,seirion/code