# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1175240 | wernklung | Cluedo (IOI10_cluedo) | C++20 | 0 ms | 0 KiB |
void Solve() {
set<int> m_choice = {1,2,3,4,5,6};
set<int> l_choice = {1,2,3,4,5,6,7,8,9,10};
set<int> w_choice = {1,2,3,4,5,6};
while(true){
int m=*m_choice.begin();
int l=*l_choice.begin();
int w=*w_choice.begin();
int result = Theory(m,l,w);
if(result == 0){
break;
}
else if(result == 1){
m_choice.erase(m);
}
else if(result == 2){
l_choice.erase(l);
}
else if(result == 3){
w_choice.erase(w);
}
}
}