Submission #1046455

#TimeUsernameProblemLanguageResultExecution timeMemory
1046455dpsaveslivesCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; void solve(){ int M = 1, L = 1, W = 1; while(true){ int ret = Theory(M,L,W); if(ret == 0){ return; } if(ret == 1){ ++M; } else if(ret == 2){ ++L; } else{ ++W; } } }

Compilation message (stderr)

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