Untitled

mail@pastecode.io avatar
unknown
c_cpp
20 days ago
300 B
0
Indexable
Never
#include <fstream>
#include <vector>

using namespace std;

struct point {
	float x;
	float y;
};

int main() {
	point poin;
	ifstream in("input.txt");
	int n;
	in >> n;
	vector<point> points(n);
	for (int i = 0; i < n; i++) {
		in >> points[i].x >> points[i].y;
	}
	in.close();
}
Leave a Comment