0_0_15216432_17227.cpp: In function 'int main()':
0_0_15216432_17227.cpp:24:28: error: cannot convert 'FILE* {aka _iobuf*}' to 'const char*' for argument '1' to 'int scanf(const char*, ...)'
scanf(in,"%d",&a[i]);
^
0_0_15216432_17227.cpp:41:28: error: cannot convert 'FILE* {aka _iobuf*}' to 'const char*' for argument '1' to 'int printf(const char*, ...)'
printf(out,"%d\n",k);
^
|