Submission #793903

#TimeUsernameProblemLanguageResultExecution timeMemory
793903I_Love_EliskaM_Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;
#define forn(i,n)
#define pb push_back

void solve() {
   vector<int> p(3,1);
   while (1) {
      int x=Theory(p[0],p[1],p[2])-1;
      if (x==-1) return;
      p[x]++;
   }
}

Compilation message (stderr)

/usr/bin/ld: /tmp/ccxK1p1k.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status