Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct tocka {
- double x, y;
- };
- int main() {
- int n;
- cin >> n;
- tocka niza[n];
- for(int i = 0; i < n; i++) {
- cin >> niza[i].x >> niza[i].y;
- }
- for(int i = 0; i < n; i++) {
- cout << niza[i].x << " " << niza[i].y << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement