记录详情

Wrong Answer

foo.cc: In function 'void SetInte(int*, int*)':
foo.cc:26:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(b[j]=a[i])
      ~~~~^~~~~
foo.cc:23:10: warning: unused variable 'y' [-Wunused-variable]
  int i,j,y,res[10000],k;
          ^
foo.cc:24:11: warning: 'i' is used uninitialized in this function [-Wuninitialized]
   for(;a[i]!=0;i++)
           ^
foo.cc:23:23: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int i,j,y,res[10000],k;
                       ^
foo.cc:23:8: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int i,j,y,res[10000],k;
        ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 408.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 436.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 424.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-03-12 20:27:50
评测时间
2021-03-12 20:27:50
评测机
分数
0
总耗时
10ms
峰值内存
436.0 KiB