# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1234630 | PenguinsAreCute | Park (JOI17_park) | C++17 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
void Detect(int T, int N) {
int Place[N];
for(int i=0;i<N;i++)
for(int j=i+1;j<N;j++) {
memset(Place,0,sizeof(Place));
Place[i] = Place[j] = 1;
if(Ask(i, j, Place))
Answer(i, j);
}
}