Submission #320996

#TimeUsernameProblemLanguageResultExecution timeMemory
320996monus1042Treasure (different grader from official contest) (CEOI13_treasure2)C++17
10 / 100
1 ms512 KiB
#include "treasure.h" #include <bits/stdc++.h> using namespace std; int ans[105][105]; 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++){ ans[i][j] = countTreasure(i,j, i,j); } } for (int i=1; i<=N; i++){ for (int j=1; j<=N; j++){ if (ans[i][j]) Report(i,j); } } }
#Verdict Execution timeMemoryGrader output
Fetching results...