Compile Error
foo.cpp: In function 'int main()': foo.cpp:16:20: error: invalid conversion from 'int*' to 'int' [-fpermissive] f[i][j]=f[j]; ^ foo.cpp:18:26: error: invalid conversion from 'int*' to 'int' [-fpermissive] f[i][j]=f[j-w[i]]+p[i]; ^ foo.cpp:21:18: error: invalid conversion from 'int*' to 'int' [-fpermissive] f[i][j]=f[j]; ^ foo.cpp:22:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=] printf("%d\n",f[m]); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1104 采药
- 语言
- C++
- 递交时间
- 2015-11-06 19:30:31
- 评测时间
- 2015-11-06 19:30:31
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes