Submission #537074

#TimeUsernameProblemLanguageResultExecution timeMemory
537074MariabfCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "grader.h"#include "cluedo.h"void Solve(){ int r; W=1, M=1, L=1; while(true){ r=Theory(M, L, W); if(r==0)return; else if(r==1)M++; else if(r==2)L++; else W++; }}

Compilation message (stderr)

cluedo.cpp:1:20: warning: extra tokens at end of #include directive
    1 | #include "grader.h"#include "cluedo.h"void Solve(){   int r;   W=1, M=1, L=1;   while(true){    r=Theory(M, L, W);    if(r==0)return;    else if(r==1)M++;    else if(r==2)L++;    else W++;   }}
      |                    ^
/usr/bin/ld: /tmp/ccTHwbRl.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status