/ 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 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Wrong Answer 200ms 352.0 KiB
#5 Wrong Answer 2ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 179ms 340.0 KiB
#8 Accepted 172ms 256.0 KiB
#9 Wrong Answer 171ms 384.0 KiB
#10 Accepted 208ms 356.0 KiB

信息

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