Submission #1258345

#TimeUsernameProblemLanguageResultExecution timeMemory
1258345mohamedboukerche55Cluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
#include"Cluedo.h"
using namespace std;


void Solve()
{
    int M = 1 , L = 1 , W = 1;
    while(true)
    {
        int r = Theory(M,L,W); 
        if(r == 0)
        {
            return;
        }
        if(r == 1)
        {
            if(M == 6)
            {
                M = 1;
            }
            else
            {
              M++;
            }
           
        }
        if(r == 2)
        {
          if(L == 10)
          {
              L = 1;
          }
          else
          {
              L++;
          }
        }
        if(r == 3)
        {
            if(W == 6)
            {
                W = 1;
            }
            else
            {
                W++;
            }
        }
    }
    return;
    
}

Compilation message (stderr)

cluedo.cpp:2:9: fatal error: Cluedo.h: No such file or directory
    2 | #include"Cluedo.h"
      |         ^~~~~~~~~~
compilation terminated.