0_0_20031035_27603.cpp: In function 'void read(T&)':
0_0_20031035_27603.cpp:16:31: error: there are no arguments to 'getchar_unlocked' that depend on a template parameter, so a declaration of 'getchar_unlocked' must be available [-fpermissive]
x=0;int _f=0;char ch=getchar();
^
0_0_20031035_27603.cpp:16:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_20031035_27603.cpp:17:48: error: there are no arguments to 'getchar_unlocked' that depend on a template parameter, so a declaration of 'getchar_unlocked' must be available [-fpermissive]
while(ch<'0'||ch>'9')_f|=(_f=='-'),ch=getchar();
^
0_0_20031035_27603.cpp:18:50: error: there are no arguments to 'getchar_unlocked' that depend on a template parameter, so a declaration of 'getchar_unlocked' must be available [-fpermissive]
while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar();
^
0_0_20031035_27603.cpp: In instantiation of 'void read(T&) [with T = int]':
0_0_20031035_27603.cpp:32:8: required from here
0_0_20031035_27603.cpp:16:31: error: 'getchar_unlocked' was not declared in this scope
x=0;int _f=0;char ch=getchar();
^
|