/ MYOJ /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:11:2: error: 'sort' was not declared in this scope
  sort(x+1,x+n+1);
  ^~~~
foo.cc:11:2: note: suggested alternative: 'qsort'
  sort(x+1,x+n+1);
  ^~~~
  qsort
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d",&n,&m,&k);
  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:10:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&x[i]);
   ~~~~~^~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)

信息

递交者
类型
自测
题目
P1013 三文鱼
语言
C++
递交时间
2020-08-08 20:32:11
评测时间
2020-08-08 20:32:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes