Submission #978365

#TimeUsernameProblemLanguageResultExecution timeMemory
978365tamir1Cluedo (IOI10_cluedo)C++17
50 / 100
41 ms344 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int i,j,l,a,x;
   for(l=1;l<=10;l++){
   	for(i=1;i<=6;i++){
   		for(j=1;j<=6;j++){
   			x=Theory(i,l,j);
   			if(x==1 || x==2){
				break;	
			}
		}	
	}
   }
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:5:14: warning: unused variable 'a' [-Wunused-variable]
    5 |    int i,j,l,a,x;
      |              ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...