Submission #1322745

#TimeUsernameProblemLanguageResultExecution timeMemory
1322745akneekaCluedo (IOI10_cluedo)C++20
0 / 100
0 ms332 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;

void Solve(){

    int ans = 0;

    for (int i = 1; i <= 6; i++){
        for (int j = 1; j <= 10; j++){
            for (int k = 1; k <= 6; k++){
                ans = Theory(i, j, k);
                if (ans == 0){return;}
                else if (ans == 1){
                    i++;
                }
                else if (ans == 2){
                    j++;
                }
                else {k++;}
            }
        }
    }

}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...