Submission #858670

# Submission time Handle Problem Language Result Execution time Memory
858670 2023-10-09T04:25:31 Z North1304 Rarest Insects (IOI22_insects) C++17
Compilation error
0 ms 0 KB
#include "prison.h"
#include <bits/stdc++.h>
using namespace std;

vector<vector<int>> devise_strategy(int N) {
  vector<vector<int>> s(N+1, vector<int>(N+1));
  s[0][0] = 0;
  for(int i=1;i<=N;i++) s[i][0] = 1 , s[0][i] = i;
  for(int i=1;i<=N;i++) {
    for(int j=1;j<=N;j++) {
      if (i<j) s[i][j] = -1;
      if (i==j) s[i][j] = 0;
      if (i>j) s[i][j] = -2;
    }
  }
  return s;
}

Compilation message

insects.cpp:1:10: fatal error: prison.h: No such file or directory
    1 | #include "prison.h"
      |          ^~~~~~~~~~
compilation terminated.