0_0_16372968_31036.cpp: In instantiation of 'bool read(T&) [with T = char [20]]':
0_0_16372968_31036.cpp:100:10: required from here
0_0_16372968_31036.cpp:76:4: error: incompatible types in assignment of 'int' to 'char [20]'
x = 0; int sgn = 1;
^
0_0_16372968_31036.cpp:78:33: error: incompatible types in assignment of 'int' to 'char [20]'
if (CH == '-')sgn = -1; else x = CH ^ 48;
^
0_0_16372968_31036.cpp:79:52: error: invalid operands of types 'char [20]' and 'int' to binary 'operator<<'
while (CH = getc(), isdigit(CH))x = (x << 3) + (x << 1) + (CH ^ 48);
^
0_0_16372968_31036.cpp:79:41: error: invalid operands of types 'char [20]' and 'int' to binary 'operator<<'
while (CH = getc(), isdigit(CH))x = (x << 3) + (x << 1) + (CH ^ 48);
^
0_0_16372968_31036.cpp:80:4: error: invalid operands of types 'char [20]' and 'int' to binary 'operator*'
x *= sgn;
^
0_0_16372968_31036.cpp:80:4: error: in evaluation of 'operator*=(char [20], int)'
|