Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. // ConsoleApplication76.cpp: определяет точку входа для консольного приложения.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include <iostream>
  6. #include <set>
  7. using namespace std;
  8.  
  9. struct section
  10. {
  11.     int left, right;
  12. };
  13.  
  14. int main()
  15. {
  16.     int x, counter;
  17.     cin >> x;
  18.     cout << endl;
  19.     cin >> counter;
  20.     cout << endl;
  21.     set<section>;
  22.     for (int i = 0; i < counter; i++)
  23.     {
  24.         int left, right;
  25.         bool flag = true;
  26.         cin >> left >> right;
  27.     }
  28.  
  29.     return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement