记录详情

Wrong Answer

/in/foo.cc: In function 'int Search(int*, int, int)':
/in/foo.cc:20:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int i=0;i<n;i++)
    ^~~
/in/foo.cc:23:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     return -1;
     ^~~~~~
/in/foo.cc: In function 'int SetInsert(int*, int, int*, int, int*)':
/in/foo.cc:48:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(Search(y,n,x[i])!=-1)//在y数组里查找到x数组里的数
     ^~
/in/foo.cc:51:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   return size;
   ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 452.0 KiB
#2 Wrong Answer 1ms 920.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2019-09-16 21:37:13
评测时间
2019-09-16 21:37:13
评测机
分数
0
总耗时
7ms
峰值内存
920.0 KiB