记录详情

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:10: 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. 1ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 384.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

信息

递交者
类型
递交
题目
A10-4 集合的交集
语言
C++
递交时间
2021-03-10 20:00:42
评测时间
2021-03-10 20:00:42
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB