记录详情

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

信息

递交者
类型
递交
题目
perfect
题目数据
下载
语言
C++
递交时间
2018-11-06 19:09:34
评测时间
2018-11-06 19:09:53
评测机
分数
0
总耗时
15ms
峰值内存
3.418 MiB