0_0_14534803_25923.cpp: In function 'void read(int&)':
0_0_14534803_25923.cpp:29:9: error: 'ch' was not declared in this scope
for(ch=getchar();ch<'0';ch=getchar());
^
0_0_14534803_25923.cpp:30:13: error: 'ch' was not declared in this scope
for(x=0;ch>='0';ch=getchar())x=x*10+ch-'0';
^
0_0_14534803_25923.cpp: In function 'int main()':
0_0_14534803_25923.cpp:76:10: error: 'T' was not declared in this scope
read(T);
^
0_0_14534803_25923.cpp:78:25: error: too few arguments to function 'void read(int&)'
int n; n = read();
^
0_0_14534803_25923.cpp:28:6: note: declared here
void read(int &x){
^
|