Submission #1141203

#TimeUsernameProblemLanguageResultExecution timeMemory
1141203groshiCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #include "grader.h" #include "cluedo.h" #define int long long using namespace std; int32_t main() { //cin.tie(0); //cout.tie(0); //ios_base::sync_with_stdio(0); int t[4]={0,1,1,1}; while(true) { int co=Theory(t[1],t[2],t[3]); if(co==0) break; t[co]++; } return 0; }

Compilation message (stderr)

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