Wrong Answer
foo.cc: In function 'int main()': foo.cc:29:100: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 29 | if(arr[num]!=arr[num+1] && arr[n-1]%arr[num]==0 && num < n-2 && arr[n-1]&arr[num+1]!=0) | ~~~~~~~~~~^~~ foo.cc:34:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 34 | if(num=n-2) | ~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1551 Problem 7B. 除数
- 语言
- C++
- 递交时间
- 2023-11-22 14:39:04
- 评测时间
- 2023-11-22 14:39:04
- 评测机
- 分数
- 0
- 总耗时
- 4ms
- 峰值内存
- 412.0 KiB