Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   14 |                 if(y1>0&&y2>0||y1<0&&y2<0)
      |                    ~~~~^~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:29:1: error: expected declaration before '}' token
   29 | }
      | ^

信息

递交者
类型
递交
题目
P3143 城市隔离 pta202605T4
语言
C++
递交时间
2026-11-13 16:09:45
评测时间
2026-11-13 16:09:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes