0_0_39373661_1637.cpp: In function 'int main()':
0_0_39373661_1637.cpp:35:39: error: 'struct std::pair<int, int>' has no member named 'a'
35 | if(m1.a != m2.b) {
| ^
0_0_39373661_1637.cpp:35:47: error: 'struct std::pair<int, int>' has no member named 'b'
35 | if(m1.a != m2.b) {
| ^
0_0_39373661_1637.cpp:39:33: error: 'ans' was not declared in this scope; did you mean 'abs'?
39 | ans += m1.a * m2.a * m1.b;
| ^~~
| abs
0_0_39373661_1637.cpp:39:43: error: 'struct std::pair<int, int>' has no member named 'a'
39 | ans += m1.a * m2.a * m1.b;
| ^
0_0_39373661_1637.cpp:39:50: error: 'struct std::pair<int, int>' has no member named 'a'
39 | ans += m1.a * m2.a * m1.b;
| ^
0_0_39373661_1637.cpp:39:57: error: 'struct std::pair<int, int>' has no member named 'b'
39 | ans += m1.a * m2.a * m1.b;
| ^
0_0_39373661_1637.cpp:40:47: error: 'struct std::pair<int, int>' has no member named 'a'
40 | sp.push(mk(m2.a, m1.b));
| ^
0_0_39373661_1637.cpp:40:53: error: 'struct std::pair<int, int>' has no member named 'b'
40 | sp.push(mk(m2.a, m1.b));
| ^
0_0_39373661_1637.cpp:44:30: error: 'ans' was not declared in this scope; did you mean 'abs'?
44 | else cout << ans << endl;
| ^~~
| abs
|