0_0_33266952_5049.cpp:17: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_33266952_5049.cpp:17: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_33266952_5049.cpp:17: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_33266952_5049.cpp:23: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_33266952_5049.cpp:23: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_33266952_5049.cpp: In function 'void work()':
0_0_33266952_5049.cpp:35:16: error: 'struct MI' has no member named 'read'
#define R (cin.read<int>())
^
0_0_33266952_5049.cpp:100:10: note: in expansion of macro 'R'
int k = R;
^
0_0_33266952_5049.cpp:35:21: error: expected primary-expression before 'int'
#define R (cin.read<int>())
^
0_0_33266952_5049.cpp:100:10: note: in expansion of macro 'R'
int k = R;
^
0_0_33266952_5049.cpp:35:21: error: expected ')' before 'int'
#define R (cin.read<int>())
^
0_0_33266952_5049.cpp:100:10: note: in expansion of macro 'R'
int k = R;
^
0_0_33266952_5049.cpp:102:16: error: 'struct MI' has no member named 'read'
cin.unget(cin.read<char>());
^
0_0_33266952_5049.cpp:102:21: error: expected primary-expression before 'char'
cin.unget(cin.read<char>());
^
0_0_33266952_5049.cpp: In function 'int main()':
0_0_33266952_5049.cpp:35:16: error: 'struct MI' has no member named 'read'
#define R (cin.read<int>())
^
0_0_33266952_5049.cpp:108:10: note: in expansion of macro 'R'
int T = R;
^
0_0_33266952_5049.cpp:35:21: error: expected primary-expression before 'int'
#define R (cin.read<int>())
^
0_0_33266952_5049.cpp:108:10: note: in expansion of macro 'R'
int T = R;
^
0_0_33266952_5049.cpp:35:21: error: expected ')' before 'int'
#define R (cin.read<int>())
^
0_0_33266952_5049.cpp:108:10: note: in expansion of macro 'R'
int T = R;
^
|