이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "game.h"
int con=0,a,b,ok=0;
void initialize(int n)
{
return ;
}
int hasEdge(int u, int v)
{
con++;
if(con==1)
{
a=u,b=v;
return 1;
}
else if(con==6) return 1;
else
{
if(u!=a&&u!=b&&v!=a&&v!=b)
{
ok=1;
return 1;
}
else if(ok==0&&con==5) return 1;
return 0;
}
}
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |