제출 #416506

#제출 시각아이디문제언어결과실행 시간메모리
416506ioiCluedo (IOI10_cluedo)C++14
0 / 100
1 ms268 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std ; void Solve(){ int f ; for(int i = 1 ; i <= 6 ; i ++){ f = Theory(i , i % 6 + 1 , i % 6 + 1) ; if(f != i)break; if(i == 5){ f = 6 ; break; } } int s ; for(int i = 1 ; i < 10 ; i ++){ s = Theory(f , i , i % 6 + 1); if(s != i)break; if(i == 9)s = 10 ; } for(int i = 1 ; i < 6 ; i ++){ int t = Theory(f , s , i); if(t == 0)return ; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...