Submission #1136430

#TimeUsernameProblemLanguageResultExecution timeMemory
1136430tsengangCluedo (IOI10_cluedo)C++20
100 / 100
3 ms408 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
#define ll long long
#define ff first
#define ss second
#define all(x) (x).begin(), (x).end()
#define pb push_back
#define ertunt return
#define vodka void
vodka Solve(){
    ll i = 1,j=1,k=1;
    while(true){
        ll res = Theory(i,j,k);
        if(res == 1)i++;
        if(res == 2)j++;
        if(res == 3)k++;
        if(res == 0)ertunt;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...