0_0_20153024_7412.cpp: In function 'T read(T)':
0_0_20153024_7412.cpp:15:19: error: there are no arguments to 'getchar_unlocked' that depend on a template parameter, so a declaration of 'getchar_unlocked' must be available [-fpermissive]
char c = getchar();
^
0_0_20153024_7412.cpp:15:19: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_20153024_7412.cpp:16:40: 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(c < '0' || c > '9') c = getchar();
^
0_0_20153024_7412.cpp:17:60: 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(c >= '0' && c <= '9') x = x*10 + c-'0', c = getchar();
^
0_0_20153024_7412.cpp: In instantiation of 'T read(T) [with T = int]':
0_0_20153024_7412.cpp:44:20: required from here
0_0_20153024_7412.cpp:15:19: error: 'getchar_unlocked' was not declared in this scope
char c = getchar();
^
|