Submission #1307618

#TimeUsernameProblemLanguageResultExecution timeMemory
1307618LBP139Cluedo (IOI10_cluedo)C++20
0 / 100
1 ms332 KiB
#include "grader.h"
#include "cluedo.h"
void Solve(){
    int t;
    for(int i=1;i>=0;i++){
        for(int j=1;j>=0;j++){
            for(int k=1;k>=0;k++){
                t=Theory(i, j, k);
                if(t==0){
                    return;
                }
                if(t==1){
                    j--;
                    k--;
                }
                if(t==2){
                    i--;
                    k--;
                }
                if(t==3){
                    i--;
                    j--;
                }
            }
        }
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...