Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:18: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |         cin>>x,z,y;
      |                  ^
foo.cc:6:19: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |         cin>>x,z,y;
      |                   ^
foo.cc:7:9: warning: 'z' is used uninitialized [-Wuninitialized]
    7 |         if(x<=z&&z<=y)
      |         ^~
foo.cc:5:17: note: 'z' was declared here
    5 |         int x,y,z;
      |                 ^
foo.cc:7:16: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
    7 |         if(x<=z&&z<=y)
      |            ~~~~^~~~~~
foo.cc:5:15: note: 'y' was declared here
    5 |         int x,y,z;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#2 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#3 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1020 3个数排序
语言
C++
递交时间
2023-11-24 16:36:39
评测时间
2023-11-24 16:36:39
评测机
分数
0
总耗时
19ms
峰值内存
412.0 KiB