#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 ;
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
268 KB |
Incorrect |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
200 KB |
Incorrect |
2 |
Halted |
0 ms |
0 KB |
- |