Submission #667882

#TimeUsernameProblemLanguageResultExecution timeMemory
667882600MihneaTreasure (different grader from official contest) (CEOI13_treasure2)C++17
10 / 100
1 ms468 KiB
#include "treasure.h" #include <bits/stdc++.h> using namespace std; void findTreasure(int n) { vector<pair<int, int>> sol; for (int i = 1; i <= n; i++) { for (int j = 1; j <= n; j++) { if (countTreasure(i, j, i, j)) { sol.push_back({i, j}); } } } for (auto &it : sol) { Report(it.first, it.second); } }
#Verdict Execution timeMemoryGrader output
Fetching results...