제출 #398860

#제출 시각아이디문제언어결과실행 시간메모리
398860almothana05경찰관과 강도 (BOI14_coprobber)C++14
0 / 100
1 ms328 KiB
#include "coprobber.h"
#include<iostream>
#include<vector>
using namespace std;
int menge = 0 , jet = 0;
vector<vector<bool> >num;
int start(int N, bool A[MAX_N][MAX_N])
{
	for(int i =  0 ;i < N ; i++){
		num.push_back(vector<bool>());
		for(int  j = 0 ; j < N  ; j++){
			num[i].push_back(A[i][j]);
		}
	}
	menge = N;
    return 0;
}

int nextMove(int R)
{
	if(num[jet][R] == 1){
	    return R;
	    
	}
	else{
		return jet;
	}
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...