/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int w(int, int, int)':
/in/foo.cc:11:12: warning: pointer to a function used in arithmetic [-Wpointer-arith]
  return w[a][b][c];
            ^
/in/foo.cc:11:15: warning: pointer to a function used in arithmetic [-Wpointer-arith]
  return w[a][b][c];
               ^
/in/foo.cc:11:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]
  return w[a][b][c];
                  ^
/in/foo.cc:11:18: error: invalid conversion from 'int (*)(int, int, int)' to 'int' [-fpermissive]

信息

递交者
类型
递交
题目
P1080 Function(Function(F...
语言
C++
递交时间
2024-11-16 20:21:17
评测时间
2024-11-16 20:21:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes