记录详情

Accepted

foo.c: In function 'main':
foo.c:6:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    6 |     if(x>0,y>0)
      |           ^
foo.c:6:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    6 |     if(x>0,y>0)
      |     ^~
foo.c:8:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    8 |         if(x<0,y>0)
      |         ^~
foo.c:8:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    8 |         if(x<0,y>0)
      |               ^
foo.c:10:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   10 |     if(x<0,y<0)
      |           ^
foo.c:12:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   12 |     if(x>0,y<0)
      |           ^
foo.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |     if(x>0,y<0)
      |     ^~
foo.c:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   14 |         if(x==0,y!=0&&x!=0,y==0&&x==0,y==0)
      |         ^~
foo.c:14:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   14 |         if(x==0,y!=0&&x!=0,y==0&&x==0,y==0)
      |                ^
foo.c:14:27: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   14 |         if(x==0,y!=0&&x!=0,y==0&&x==0,y==0)
      |                           ^
foo.c:14:38: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   14 |         if(x==0,y!=0&&x!=0,y==0&&x==0,y==0)
      |                                      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1011 平面坐标系
语言
C
递交时间
2022-08-26 23:25:05
评测时间
2022-08-26 23:25:05
评测机
分数
10
总耗时
2ms
峰值内存
256.0 KiB