记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:13: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
       if(a[i]<min)
          ~~~^
/in/foo.cc:6:11: note: within this loop
  for(i=0;i<=9;i++)
          ~^~~
/in/foo.cc:13:36: warning: 'jmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
  jh=a[jmax];a[jmax]=a[jmin];a[jmin]=jh;
                             ~~~~~~~^~~
/in/foo.cc:13:20: warning: 'jmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  jh=a[jmax];a[jmax]=a[jmin];a[jmin]=jh;
             ~~~~~~~^~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1005 涛不会无缝E
语言
C++
递交时间
2019-06-12 11:50:28
评测时间
2019-06-12 11:50:28
评测机
分数
0
总耗时
7ms
峰值内存
220.0 KiB