# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
333938 | daniel920712 | ICC (CEOI16_icc) | C++14 | 457 ms | 704 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <set>
#include <map>
#include <vector>
#include <queue>
#include <algorithm>
#include <utility>
#include <time.h>
#include <assert.h>
#include "icc.h"
using namespace std;
bool have[1005][1005]={0};
int a[1005],b[1005];
void run(int N)
{
int ok=1,i,j,k,x,y,t1,t2,con=0;
for(i=1;i<N;i++)
{
for(j=1;j<=N;j++)
{
t1=0;
t2=0;
a[0]=j;
for(k=j+1;k<=N;k++)
{
b[0]=k;
if(j==k) continue;
//if(have[j][k]) continue;
con++;
if(query(1,1,a,b))
{
x=j;
y=k;
}
}
}
setRoad(x,y);
//have[x][y]=1;
//have[y][x]=1;
}
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |