记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:9: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
   11 |     [&, i = 0]() mutable {
      |         ^
/in/foo.cc: In lambda function:
/in/foo.cc:13:17: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
   13 |             [&, j = 0]() mutable {
      |                 ^
/in/foo.cc: In lambda function:
/in/foo.cc:17:21: error: 'operator()' not defined
   17 |                     operator()();
      |                     ^~~~~~~~~~
/in/foo.cc: In lambda function:
/in/foo.cc:21:13: error: 'operator()' not defined
   21 |             operator()();
      |             ^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:9: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
   25 |     [&, i = 0]() mutable {
      |         ^
/in/foo.cc: In lambda function:
/in/foo.cc:29:13: error: 'operator()' not defined
   29 |             operator()();
      |             ^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:9: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
   33 |     [&, i = 0]() mutable {
      |         ^
/in/foo.cc: In lambda function:
/in/foo.cc:35:17: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
   35 |             [&, j = 0]() mutable {
      |                 ^
/in/foo.cc: In lambda function:
/in/foo.cc:39:21: error: 'operator()' not defined
   39 |                     operator()();
      |                     ^~~~~~~~~~
/in/foo.cc: In lambda function:
/in/foo.cc:45:13: error: 'operator()' not defined
   45 |             operator()();
      |             ^~~~~~~~~~

信息

递交者
类型
递交
题目
6-5 矩阵的行排序
比赛
2025年春 南师大《程序设计与竞赛》作业赛第六场
语言
C++
递交时间
2025-05-10 09:52:45
评测时间
2025-05-10 09:52:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes