Compile Error

foo.cc: In function ‘bool cmp(t, t)’:
foo.cc:13:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   13 | return a.x<b.x||a.x==b.x&&a.y<b.y;
      |                 ~~~~~~~~^~~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:53:9: warning: unused variable ‘u’ [-Wunused-variable]
   53 | int k,l,u;k=read();l=read();
      |         ^
foo.cc:73:10: error: expected ‘}’ at end of input
   73 | return 0;
      |          ^
foo.cc:38:1: note: to match this ‘{’
   38 | {
      | ^

信息

递交者
类型
递交
题目
P2433 插入排序
语言
C++
递交时间
2025-07-19 14:02:55
评测时间
2025-07-19 14:02:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes