Submission #1195982

#TimeUsernameProblemLanguageResultExecution timeMemory
1195982edga1Cluedo (IOI10_cluedo)C++20
100 / 100
3 ms408 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
typedef long long ll;
#define fi first
#define se second
#define pb push_back
#define fastIO ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define MOD 1000000007

void Solve(){
    int a=1,b=1,c=1;
    int atb=1;
    while(atb!=0){
        atb=Theory(a,b,c);
        if(atb==1) a++;
        if(atb==2) b++;
        if(atb==3) c++;
    }
    return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...