/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void search(int, int, int*, bool*)':
/in/foo.cc:27:11: error: expected ';' before 'search'
 29        search(x+1,sum+a[n][x]*i,ans,vis);
           ^~~~~~
/in/foo.cc:27:44: warning: statement has no effect [-Wunused-value]
 29        search(x+1,sum+a[n][x]*i,ans,vis);
                                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=20;++i)
     ^~~
/in/foo.cc:47:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      for(int i=1;i<=20;++i)
      ^~~

信息

递交者
类型
递交
题目
P1085 Sunnypig闯三角关
语言
C++
递交时间
2018-10-27 10:41:18
评测时间
2018-10-27 10:41:18
评测机
分数
0
总耗时
269ms
峰值内存
29.695 MiB