记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
/in/foo.cc:11:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    qsort(1,n);
    ^~~~~
/in/foo.cc:7:8: warning: unused variable 'i' [-Wunused-variable]
  int n,i;
        ^
/tmp/cckpZ3GN.o: In function `qosrt(int, int)':
foo.cc:(.text+0x6f): undefined reference to `qsort(int, int)'
foo.cc:(.text+0xa7): undefined reference to `qsort(int, int)'
/tmp/cckpZ3GN.o: In function `main':
foo.cc:(.text.startup+0x56): undefined reference to `qsort(int, int)'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
统计数字(Noip2007)
题目数据
下载
语言
C++
递交时间
2019-01-04 18:57:11
评测时间
2019-01-04 18:57:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes