Submission #883300

# Submission time Handle Problem Language Result Execution time Memory
883300 2023-12-05T05:48:16 Z klee Cluedo (IOI10_cluedo) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
int main()
{
  int r = -1; int m = 1; int l = 1; int w = 1;
  r = Theory(m,l,w);
  while (r > 0) {
    if (r == 1) m++;
    if (r == 2) l++;
    if (r == 3) w++;
    r = Theory(m,l,w);
  }
}

Compilation message

/usr/bin/ld: /tmp/cccIhhb2.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccwjUMV3.o:cluedo.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cccIhhb2.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status