0_0_39832441_3005.cpp: In function 'int read()':
0_0_39832441_3005.cpp:6:17: error: invalid conversion from 'int (*)()' to 'char' [-fpermissive]
6 | char ch=getchar;
| ^~~~~~~
| |
| int (*)()
0_0_39832441_3005.cpp:7:31: error: invalid conversion from 'int (*)()' to 'char' [-fpermissive]
7 | while(ch<48||ch>57)ch=getchar;
| ^~~~~~~
| |
| int (*)()
0_0_39832441_3005.cpp:8:55: error: invalid conversion from 'int (*)()' to 'char' [-fpermissive]
8 | while(ch>=48&&ch<=57)x=(x<<1)+(x<<3)+ch-48,ch=getchar;
| ^~~~~~~
| |
| int (*)()
|