Submission #1307136

#TimeUsernameProblemLanguageResultExecution timeMemory
1307136lucaskojimaCop and Robber (BOI14_coprobber)C++17
0 / 100
1 ms340 KiB
#include "bits/stdc++.h"
#include "coprobber.h"
#define sz(x) (int)size(x)
#define all(x) begin(x), end(x)
#define rall(x) rbegin(x), rend(x)

using namespace std;
using ll = long long;
using pii = pair<int, int>;

const char nl = '\n';
const int INF = 0x3f3f3f3f;
const ll LINF = 0x3f3f3f3f3f3f3f3f;

int n;

int start(int n_, bool A[MAX_N][MAX_N]) {
  n = n_;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < n; j++) {
      if (i == j) continue;
      assert(A[i][j] == 1);
    }
  return 0;
}

int nextMove(int r) {
//  assert(0 <= r && r < n);
  return r;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...