Compile Error
foo.cc: In function ‘int main()’: foo.cc:15:25: warning: the omitted middle operand in ‘?:’ will always be ‘true’, suggest explicit middle operand [-Wparentheses] 15 | max=(a>b?a:b)>c?:(a>b?a:b):c; | ^ foo.cc:15:35: error: expected ‘;’ before ‘:’ token 15 | max=(a>b?a:b)>c?:(a>b?a:b):c; | ^ | ;
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- 大三元
- 语言
- C++
- 递交时间
- 2024-05-06 15:46:27
- 评测时间
- 2024-05-06 15:46:27
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes