Submission #313399

#TimeUsernameProblemLanguageResultExecution timeMemory
313399arthur_nascimentoAirline Route Map (JOI18_airline)C++14
Compilation error
0 ms0 KiB
#include "Alicelib.h" #include <cassert> #include <cstdio> #include <bits/stdc++.h> #define maxn 110 #define maxK 4100 #define ll long long #define pb push_back #define pii pair<int,int> #define mod 1000000007 #define debug(args...) //fprintf(stderr,args) using namespace std; void Alice( int N, int M, int A[], int B[] ){ vector<pii> v; for(int i=0;i<M;i++) v.pb({A[i],B[i]}); for(int i=0;i<10;i++) for(int j=0;j<N;j++) if(j & (1<<i)) v.pb({i+N,j}); for(int i=0;i<N+10;i++){ if(i < N){ v.pb({10+N,i}); v.pb({11+N,i}); } else if (i == N); else if(i < N + 5) v.pb({10+N,i}); else v.pb({11+N,i}); } for(int i=0;i<9;i++) v.pb({i+N,i+N+1}); InitG(N+12,v.size()); int bla = 0; for(pii i : v) MakeG(bla++, i.first,i.second); }

Compilation message (stderr)

/tmp/ccb9CMsm.o: In function `main':
grader_bob.cpp:(.text.startup+0xcb): undefined reference to `Bob(int, int, int*, int*)'
collect2: error: ld returned 1 exit status