Submission #978370

#TimeUsernameProblemLanguageResultExecution timeMemory
978370tamir1Cluedo (IOI10_cluedo)C++17
100 / 100
11 ms596 KiB
#include "grader.h" #include "cluedo.h" bool a[11],b[11],c[11]; void Solve(){ int i,j,l,x; for(i=1;i<=10;i++){ a[i]=0; b[i]=0; c[i]=0; } for(l=1;l<=6;l++){ for(i=1;i<=10;i++){ for(j=1;j<=6;j++){ if(a[l] || b[i] || c[j]) continue; x=Theory(l,i,j); if(x==0) break; if(x==1) a[l]=1; if(x==2) b[i]=1; if(x==3) c[j]=1; } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...