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>
using namespace std;
#define MAX_N 500
// modify the following functions
// you can define global variables and functions
int start(int N, bool A[MAX_N][MAX_N]) {
int count=0;
for(int i=0;i!=N;++i){
for(int j=0;j!=N;++j){
if(i==j)continue;
if(A[i][j])++count;
}
}
assert(count==2*N-2);
return 0;
}
int nextMove(int R) {
return R;
}
# | 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... |