Compile Error
/in/foo.cc: In function 'bool cmp(stu, stu)': /in/foo.cc:10:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 10 | return x.ch>y.ch||x.ch==y.ch&&x.ma>y.ma; | ~~~~~~~~~~^~~~~~~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:15:16: error: 'st' was not declared in this scope; did you mean 'stu'? 15 | cin>>n;st.resize(n); | ^~ | stu
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2025-02-06 13:33:20
- 评测时间
- 2025-02-06 13:33:20
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes