记录详情

Compile Error

/in/foo.cc:6:1: error: expected initializer before 'long'
 long long c[maxx];
 ^~~~
/in/foo.cc: In function 'void in()':
/in/foo.cc:19:3: error: 'c' was not declared in this scope
   c[i]=a[i].p*a[i].v;
   ^
/in/foo.cc: In function 'void go()':
/in/foo.cc:27:2: error: 'f' was not declared in this scope
  f[j]=max(f[j],f[j-a[i].p]+c[i]);
  ^
/in/foo.cc:27:28: error: 'c' was not declared in this scope
  f[j]=max(f[j],f[j-a[i].p]+c[i]);
                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:9: error: 'f' was not declared in this scope
  memset(f,0,sizeof(f));
         ^

信息

递交者
类型
递交
题目
1.开心的金明(happy)
题目数据
下载
语言
C++
递交时间
2019-01-27 09:49:12
评测时间
2019-01-27 09:49:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes