Submission #1246611

#TimeUsernameProblemLanguageResultExecution timeMemory
1246611em4ma2Cop and Robber (BOI14_coprobber)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
 
using namespace std;

#define pb push_back
#define ll long long
//#define int long long

const ll mod=998244353;
const int mxsz=5e2+4;
const ll inf = LLONG_MAX;

vector<int> adj[mxsz];

int start(int n,bool a[mxsz][mxsz]){
    for (int i=0;i<n;i++){
        for (int j=0;j<n;j++){
            if (a[i][j]){
                adj[i].pb(j);
            }
        }
    }
    return 0;
}

int nextMove(int x){
    return x;
}

Compilation message (stderr)

/usr/bin/ld: /tmp/cc4fqK4k.o: in function `main':
grader.cpp:(.text.startup+0x155): undefined reference to `start(int, bool (*) [500])'
collect2: error: ld returned 1 exit status