This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#define uwu return 0;
using namespace std;
const int SIZE = 1.5e3 + 5;
int cnt[SIZE], N;
void initialize(int n){
N = n;
for (int i = 1; i < N; i++){
cnt[i] = i;
}
return;
}
int hasEdge(int a, int b){
if(a > b)
swap(a, b);
return (--cnt[b]) == 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... |