记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:10: warning: the address of 'int is(int)' will always evaluate as 'true' [-Waddress]
     if(is)
          ^
/in/foo.cc:19:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if(j%i==0)a[j]=!a[j];
      ^~
/in/foo.cc:20:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(a[i]) cout<<i<<" ";
     ^~
# 状态 耗时 内存占用
#1 Wrong Answer 32ms 600.0 KiB
#2 Wrong Answer 581ms 596.0 KiB
#3 Wrong Answer 14ms 592.0 KiB
#4 Wrong Answer 20ms 588.0 KiB
#5 Wrong Answer 2ms 592.0 KiB

信息

递交者
类型
递交
题目
P1010 s-0-1班级活动之选人
语言
C++
递交时间
2021-06-07 17:54:38
评测时间
2021-06-07 17:54:47
评测机
分数
0
总耗时
651ms
峰值内存
600.0 KiB