# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
9063 | dolpang2 | Actual visible points (kriii2_AC) | C++14 | 0 ms | 1472 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <cstdio>
#include <vector>
#include <set>
struct Point {
int x;
int y;
};
int main() {
int N;
int M;
scanf(" %d %d", &N, &M);
std::vector<int> bundle_of_points;
for (int i = 0; i < M; ++i) {
int point;
scanf("%d", &point);
bundle_of_points.push_back(point);
}
std::vector<Point> bundle_of_PP;
for (size_t i = 0; i < bundle_of_points.size(); ++i) {
for (size_t j = i; j < bundle_of_points.size(); ++j) {
Point p;
p.x = bundle_of_points[i];
p.y = bundle_of_points[j];
bundle_of_PP.push_back(p);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |