/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:16: warning: variable 'z' set but not used [-Wunused-but-set-variable]
  int n,m=0,i,j,z=0,s=0,l,g=1;
                ^
/in/foo.cc:8:26: warning: unused variable 'g' [-Wunused-variable]
  int n,m=0,i,j,z=0,s=0,l,g=1;
                          ^
/in/foo.cc:39:7: warning: iteration 10000 invokes undefined behavior [-Waggressive-loop-optimizations]
   c[i]=30001;
   ~~~~^~~~~~
/in/foo.cc:37:11: note: within this loop
  for(i=1;i<=10001;i++)
          ~^~~~~~~
/in/foo.cc:53:7: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
   c[l]=a[i];
   ~~~~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 340.0 KiB
#2 Wrong Answer 2ms 256.0 KiB
#3 Wrong Answer 2ms 372.0 KiB
#4 Wrong Answer 2ms 372.0 KiB
#5 Wrong Answer 3ms 264.0 KiB
#6 Wrong Answer 3ms 376.0 KiB

信息

递交者
类型
递交
题目
P1303 导弹拦截
语言
C++
递交时间
2018-07-19 14:38:56
评测时间
2018-07-19 14:38:56
评测机
分数
0
总耗时
17ms
峰值内存
376.0 KiB