/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:30:37: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     if(k==n-1)if(check())out();else;else;
                                     ^~~~
/in/foo.cc:31:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
         for(int i=1;i<n;i++)if(v[i]==-1)v[i]=k,dfs(k+1),v[i]=-1;
         ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 372.0 KiB
#2 Wrong Answer 2ms 256.0 KiB
#3 Wrong Answer 3ms 344.0 KiB
#4 Wrong Answer 227ms 384.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Accepted 3ms 368.0 KiB
#7 Wrong Answer 179ms 384.0 KiB
#8 Wrong Answer 205ms 384.0 KiB
#9 Wrong Answer 177ms 384.0 KiB
#10 Wrong Answer 204ms 372.0 KiB

信息

递交者
类型
递交
题目
P1596 加法表
语言
C++
递交时间
2017-05-27 16:10:52
评测时间
2017-05-27 16:10:52
评测机
分数
20
总耗时
1010ms
峰值内存
384.0 KiB