# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
943177 | MilosMilutinovic | 카멜레온의 사랑 (JOI20_chameleon) | C++14 | 0 ms | 0 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
// rispekt za vasu
#include "chameleon.h"
#include<bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
using namespace std;
namespace {
int f[105][105];
vector<int> c[105];
} // namespace
void Solve(int n){
vector<pair<int,int>> res;
for(int i=1;i<=2*n;i++){
for(int j=i+1;j<=2*n;j++){
f[i][j]=f[j][i]=Query({i},{j});
}
}
for(int i=1;i<=2*n;i++){
c[i].clear();
for(int j=1;j<=2*n;j++){
if(i==j||f[i][j]!=1) continue;
c[i].pb(j);
}
}
for(int i=1;i<=2*n;i++){
for(int j:c[i]){
}
}
for(auto&p:res) Answer(p.fi,p.se);
}