Compile Error
foo.cc: In function ‘int main()’: foo.cc:16:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 16 | if(x=y&&x>z) | ~^~~~~~~ foo.cc:19:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 19 | if(x=y&&x<z) | ~^~~~~~~ foo.cc:21:14: error: expected ‘}’ at end of input 21 | return 0; | ^ foo.cc:4:1: note: to match this ‘{’ 4 | { | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P2344 1.4.15:最大数输出
- 语言
- C++
- 递交时间
- 2024-04-04 13:31:40
- 评测时间
- 2024-04-04 13:31:40
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes