#include "game.h"
#include <bits/stdc++.h>
using namespace std;
const int mxn=1500+5;
int d[mxn],n,color[mxn],say=0;
void initialize(int N) {
n=N;
say=(n*(n-1))/2;
}
int hasEdge(int u, int v) {
if(say<n){
return 1;
}
return 0;
say--;
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |