Untitled
unknown
c_cpp
a year ago
278 B
3
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