#include "game.h"
#include <bits/stdc++.h>
using namespace std;
const int mxn=1500+5;
int d[mxn],cnt[mxn];
void initialize(int N) {
}
int hasEdge(int u, int v) {
if(u>v){
swap(u,v);
}
cnt[v]++;
if(cnt[v]==v+1){
return 1;
}
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 |
- |