답안 #320995

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
320995 2020-11-10T15:00:35 Z monus1042 보물 찾기 (CEOI13_treasure2) C++17
0 / 100
1 ms 364 KB
#include "treasure.h"
#include <bits/stdc++.h>
using namespace std;

void findTreasure (int N) {
    //int cnt = countTreasure(1, 1, N, N);
    //if(cnt > 0) Report (1, 1);
	for (int i=1; i<=N; i++){
		for (int j=1; j<=N; j++){
			int counter = countTreasure(i,j, i,j);
			if (counter == 1){
				Report(i,j);
			}
		}
	}
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
2 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
3 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
4 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
5 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
6 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
7 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
8 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
9 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
10 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()