Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:12:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=] printf("%d",&n,&m) ^ /in/foo.cc:12:19: warning: too many arguments for format [-Wformat-extra-args] /in/foo.cc:13:2: error: expected ';' before 'for' for(int j=1;j<=m;j++) ^~~ /in/foo.cc:13:14: error: 'j' was not declared in this scope for(int j=1;j<=m;j++) ^
信息
- 递交者
- 类型
- 递交
- 题目
- 图结构练习 - 邻接表
- 语言
- C++
- 递交时间
- 2018-02-08 15:35:01
- 评测时间
- 2018-02-08 15:35:01
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes