0_0_25384594_6618.cpp: In function 'bool scan_d(T&)':
0_0_25384594_6618.cpp:73:17: error: there are no arguments to 'getchar_unlocked' that depend on a template parameter, so a declaration of 'getchar_unlocked' must be available [-fpermissive]
if(c = getchar(), c == EOF)return false;
^
0_0_25384594_6618.cpp:73:17: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_25384594_6618.cpp:74:53: 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 != '-' && (c < '0' || c > '9'))c = getchar();
^
0_0_25384594_6618.cpp:77:20: 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 = getchar(), c >= '0' && c <= '9')
^
0_0_25384594_6618.cpp: In function 'bool scan_ch(char&)':
0_0_25384594_6618.cpp:94:18: error: 'getchar_unlocked' was not declared in this scope
if(ch = getchar(), ch == EOF)return false;
^
0_0_25384594_6618.cpp:95:45: error: 'getchar_unlocked' was not declared in this scope
while(ch == ' ' || ch == '\n')ch = getchar();
^
0_0_25384594_6618.cpp: In function 'void out_number(ll)':
0_0_25384594_6618.cpp:103:14: error: 'putchar_unlocked' was not declared in this scope
putchar('-');
^
0_0_25384594_6618.cpp:108:22: error: 'putchar_unlocked' was not declared in this scope
putchar(x % 10 + '0');
^
0_0_25384594_6618.cpp: In function 'int main()':
0_0_25384594_6618.cpp:228:21: error: 'putchar_unlocked' was not declared in this scope
putchar(' ');
^
0_0_25384594_6618.cpp: In instantiation of 'bool scan_d(T&) [with T = int]':
0_0_25384594_6618.cpp:175:14: required from here
0_0_25384594_6618.cpp:73:17: error: 'getchar_unlocked' was not declared in this scope
if(c = getchar(), c == EOF)return false;
^
0_0_25384594_6618.cpp:74:53: error: 'getchar_unlocked' was not declared in this scope
while(c != '-' && (c < '0' || c > '9'))c = getchar();
^
0_0_25384594_6618.cpp:77:20: error: 'getchar_unlocked' was not declared in this scope
while(c = getchar(), c >= '0' && c <= '9')
^
|