Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:22:13: error: 'fin' was not declared in this scope fscanf (fin, "%d", &n); ^~~ /in/foo.cc:22:13: note: suggested alternative: 'main' fscanf (fin, "%d", &n); ^~~ main /in/foo.cc:31:14: error: 'fout' was not declared in this scope fprintf (fout, "%d\n", medians[n/2]); ^~~~ /in/foo.cc:31:14: note: suggested alternative: 'fputs' fprintf (fout, "%d\n", medians[n/2]); ^~~~ fputs