# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
377134 | kevinxiehk | Cluedo (IOI10_cluedo) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#ifdef __cplusplus
extern "C" {
#endif
int Theory(int M, int L, int W);
void Solve();
#ifdef __cplusplus
}
#endif
int a[4],t;
void Solve() {
// TODO: implementation
a[1]=1,a[2]=1,a[3]=1;
t=Theory(a[1],a[2],a[3]);
while(t!=0){
a[t]++;
t=Theory(a[1],a[2],a[3]);
}
return;
}