0_0_33266091_2082.cpp:51:9: error: "or" cannot be used as a macro name as it is an operator in C++
#define or ||
^
0_0_33266091_2082.cpp:52:9: error: "and" cannot be used as a macro name as it is an operator in C++
#define and &&
^
0_0_33266091_2082.cpp:18:10: error: explicit specialization in non-namespace scope 'struct MI'
template<>struct MI::Q<char>{inline void operator()(MI&t,char&r){int c;for(;;){g I(c==-1,L void(r=-1))I(!isspace(c),L void(r=c))}}};inline int get(){if(o){o=0;L e;}
^
0_0_33266091_2082.cpp:18:18: error: extra qualification not allowed [-fpermissive]
template<>struct MI::Q<char>{inline void operator()(MI&t,char&r){int c;for(;;){g I(c==-1,L void(r=-1))I(!isspace(c),L void(r=c))}}};inline int get(){if(o){o=0;L e;}
^
0_0_33266091_2082.cpp:18:22: error: an anonymous struct cannot have function members
template<>struct MI::Q<char>{inline void operator()(MI&t,char&r){int c;for(;;){g I(c==-1,L void(r=-1))I(!isspace(c),L void(r=c))}}};inline int get(){if(o){o=0;L e;}
^
0_0_33266091_2082.cpp:24:65: error: too many template-parameter-lists
}inline void unget(int c){o=1;e=c;}template<typename T>inline T read(){T r;Q<T>()(*this,r);L r;}template<typename T>inline MI&operator>(T&t){Q<T>()(*this,t);L*this;}};
^
0_0_33266091_2082.cpp:24:126: error: too many template-parameter-lists
}inline void unget(int c){o=1;e=c;}template<typename T>inline T read(){T r;Q<T>()(*this,r);L r;}template<typename T>inline MI&operator>(T&t){Q<T>()(*this,t);L*this;}};
^
0_0_33266091_2082.cpp: In function 'void work()':
0_0_33266091_2082.cpp:169:5: error: no match for 'operator>' (operand types are 'MI' and 'int')
cin>n;
^
0_0_33266091_2082.cpp:173:6: error: no match for 'operator>' (operand types are 'MI' and 'char')
cin>c>lef>bot>rig>top;
^
0_0_33266091_2082.cpp: In function 'int main()':
0_0_33266091_2082.cpp:36:16: error: 'struct MI' has no member named 'read'
#define R (cin.read<int>())
^
0_0_33266091_2082.cpp:210:10: note: in expansion of macro 'R'
int T = R, i;
^
0_0_33266091_2082.cpp:36:21: error: expected primary-expression before 'int'
#define R (cin.read<int>())
^
0_0_33266091_2082.cpp:210:10: note: in expansion of macro 'R'
int T = R, i;
^
0_0_33266091_2082.cpp:36:21: error: expected ')' before 'int'
#define R (cin.read<int>())
^
0_0_33266091_2082.cpp:210:10: note: in expansion of macro 'R'
int T = R, i;
^
0_0_33266091_2082.cpp:211:7: error: 'i' was not declared in this scope
for (i=1;i<=T;i++) {
^
|