0_0_20674577_27677.cpp: In function 'T& read(T&)':
0_0_20674577_27677.cpp:17:32: 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(!isdigit(c = getchar())) if(c == '-') flag = 1;
^
0_0_20674577_27677.cpp:17:32: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_20674577_27677.cpp:18:41: error: there are no arguments to 'getchar_unlocked' that depend on a template parameter, so a declaration of 'getchar_unlocked' must be available [-fpermissive]
for(x = c ^ 48; isdigit(c = getchar()); x = (x << 3) + (x << 1) + (c ^ 48));
^
0_0_20674577_27677.cpp: In instantiation of 'T& read(T&) [with T = long long int]':
0_0_20674577_27677.cpp:89:31: required from here
0_0_20674577_27677.cpp:17:32: error: 'getchar_unlocked' was not declared in this scope
while(!isdigit(c = getchar())) if(c == '-') flag = 1;
^
0_0_20674577_27677.cpp:18:41: error: 'getchar_unlocked' was not declared in this scope
for(x = c ^ 48; isdigit(c = getchar()); x = (x << 3) + (x << 1) + (c ^ 48));
^
0_0_20674577_27677.cpp: In instantiation of 'T& read(T&) [with T = int]':
0_0_20674577_27677.cpp:151:18: required from here
0_0_20674577_27677.cpp:17:32: error: 'getchar_unlocked' was not declared in this scope
while(!isdigit(c = getchar())) if(c == '-') flag = 1;
^
0_0_20674577_27677.cpp:18:41: error: 'getchar_unlocked' was not declared in this scope
for(x = c ^ 48; isdigit(c = getchar()); x = (x << 3) + (x << 1) + (c ^ 48));
^
|