Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:9:15: error: expression list treated as compound expression in initializer [-fpermissive] scanf("%d",&n); ^ /in/foo.cc:9:15: warning: left operand of comma operator has no effect [-Wunused-value] /in/foo.cc:9:15: error: invalid conversion from 'int*' to 'int' [-fpermissive] /in/foo.cc:12:23: error: 'scanf' cannot be used as a function scanf("%d%d",&ti,&ki); ^ /in/foo.cc:15:18: error: 'scanf' cannot be used as a function scanf("%d",&xi); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1006 海港
- 语言
- C++
- 递交时间
- 2019-05-11 15:43:08
- 评测时间
- 2019-05-11 15:43:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes