0_0_21494369_14456.cpp: In function 'int main()':
0_0_21494369_14456.cpp:46:24: error: 'b' was not declared in this scope
printf("%d\n",read(b)-read(a-1););
^
0_0_21494369_14456.cpp:46:33: error: invalid conversion from 'int*' to 'int' [-fpermissive]
printf("%d\n",read(b)-read(a-1););
^
0_0_21494369_14456.cpp:16:5: note: initializing argument 1 of 'int read(int)'
int read(int k){
^
0_0_21494369_14456.cpp:46:37: error: expected primary-expression before ')' token
printf("%d\n",read(b)-read(a-1););
^
|