/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:28:3: error: 'z' was not declared in this scope
  }z
   ^
foo.cpp:29:2: error: expected ';' before 'int'
  int ans=d[p];
  ^
foo.cpp:31:15: error: 'ans' was not declared in this scope
  if(a[i]>a[p])ans=max(ans,d[p]+d[i]);
               ^
foo.cpp:32:8: error: 'ans' was not declared in this scope
  cout<<ans;
        ^

信息

递交者
类型
递交
题目
P1369 难解的问题
语言
C++
递交时间
2016-11-17 23:21:26
评测时间
2016-11-17 23:21:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes