记录详情

Compile Error

/in/foo.cc: In lambda function:
/in/foo.cc:19:12: error: expected '{' before '=' token
         [i]=k;
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:19:13: error: no match for 'operator=' (operand types are 'main()::<lambda()>' and 'int')
         [i]=k;
             ^
/in/foo.cc:19:11: note: candidate: main()::<lambda()>& main()::<lambda()>::operator=(const main()::<lambda()>&) <deleted>
         [i]=k;
           ^
/in/foo.cc:19:11: note:   no known conversion for argument 1 from 'int' to 'const main()::<lambda()>&'
/in/foo.cc:33:11: error: 'o' was not declared in this scope
         p[o]+=a[t];
           ^
/in/foo.cc:37:16: error: 'o' was not declared in this scope
     sort(p+1,p+o+1);
                ^

信息

递交者
类型
递交
题目
求最长不下降序列
题目数据
下载
语言
C++
递交时间
2019-07-05 16:47:04
评测时间
2019-07-05 16:47:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes