Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <utility>
- using namespace std;
- int main() {
- pair<int, int> p1 = {5, 5};
- pair<int, int> p2 = {5, 5};
- if(p1 == p2) {
- cout << "ISTI PAROVI" << endl;
- }
- if(p1 < p2) {
- cout << "p1 e pomal" << endl;
- }
- if(p1 > p2) {
- cout << "p1 e pogolem" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment