/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:29:25: error: 'sort' was not declared in this scope
     sort(a1+1,a1+1+n,cmp);//di ji xiao shi ji hao wei 
                         ^
foo.cpp:27:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,l;
        ^
foo.cpp:27:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,l;
          ^
foo.cpp:27:12: warning: unused variable 'l' [-Wunused-variable]
  int i,j,k,l;
            ^
foo.cpp:41:10: warning: unused variable 'r' [-Wunused-variable]
  node* q,r;
          ^

信息

递交者
类型
递交
题目
P1842 火柴排队
语言
C++
递交时间
2015-10-03 08:34:45
评测时间
2015-10-03 08:34:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes