Untitled
unknown
c_cpp
2 years ago
278 B
6
Indexable
#include <iostream>
#include <vector>
using namespace std;
struct point {
float x;
float y;
};
int main() {
point dote;
vector<point> points;
int n;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> dote.x >> dote.y;
points.push_back(dote);
}
}Editor is loading...
Leave a Comment