3번 코드 풀이
#include <iostream>
#include <vector>
using namespace std;
vector<int> solution(vector<vector<int> > v) {
vector<int> ans = {0,0};
for(int i=0; i<3; i++)
{
ans[0] ^= v[i][0];
ans[1] ^= v[i][1];
}
return ans;
}
등록된 질문이 없습니다. 궁금한 부분이 있으면 주저하지 말고 무엇이든 물어보세요.