Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:13:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(a[j] = a[i]) ^ /in/foo.cc:21:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(a != -1) ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1002 Copycat
- 语言
- C++
- 递交时间
- 2020-09-10 12:18:36
- 评测时间
- 2020-09-10 12:18:36
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes