记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:18: warning: right operand of comma operator has no effect [-Wunused-value]
    5 |         cin>>x,y,z;
      |                  ^
foo.cc:5:19: warning: right operand of comma operator has no effect [-Wunused-value]
    5 |         cin>>x,y,z;
      |                   ^
foo.cc:4:13: warning: 'z' is used uninitialized [-Wuninitialized]
    4 |     int x,y,z;
      |             ^
foo.cc:8:20: warning: 'y' is used uninitialized [-Wuninitialized]
    8 |         int mid = x+y+z-max-min;
      |                   ~^~
foo.cc:4:11: note: 'y' was declared here
    4 |     int x,y,z;
      |           ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 5. 3ms 412.0 KiB
#2 Wrong Answer Read 2, expect 5. 4ms 412.0 KiB
#3 Wrong Answer Read 3, expect 5. 3ms 412.0 KiB
#4 Wrong Answer Read 0, expect 3. 3ms 412.0 KiB
#5 Wrong Answer Read 0, expect 3. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2023年新生赛(第一场)
语言
C++
递交时间
2023-08-15 08:13:38
评测时间
2023-08-15 08:13:38
评测机
分数
0
总耗时
18ms
峰值内存
412.0 KiB