Submission #274323

#TimeUsernameProblemLanguageResultExecution timeMemory
274323shinjanCluedo (IOI10_cluedo)C++14
100 / 100
19 ms256 KiB
#include <iostream>
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
void Solve()
{
    int m=1,l=1,w=1;
    int x=Theory(m,l,w);
    while(x)
    {
        if(x==1)
        {
            m++;
        }
        if(x==2)
        {
            l++;
        }
        if(x==3)
        {
            w++;
        }
        x=Theory(m,l,w);
    }
    return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...