CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <iostream>
#include <map>
using namespace std;
#define M map<int,int>
int main() {
M m1{{1,1}};
M m2{{0,1}};
M m3{{1,0}};
M m4{{0,0}};
M m5{{1,1}};
cout << (m1 > m2) << '\n';
cout << (m1 > m3) << '\n';
cout << (m1 > m4) << '\n';
cout << (m2 > m3) << '\n';
cout << (m2 > m4) << '\n';
cout << (m3 > m4) << '\n';
cout << (m1 > m5) << '\n';
cout << '\n';
cout << (m1 == m2) << '\n';
cout << (m1 == m3) << '\n';
cout << (m1 == m4) << '\n';
cout << (m2 == m3) << '\n';
cout << (m2 == m4) << '\n';
cout << (m3 == m4) << '\n';
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run