/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:12:13: error: 'arr' was not declared in this scope
      cin >> arr[i];   
             ^
foo.cpp:24:16: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator+'
      f[i] = 1+ max;
                ^
foo.cpp:29:7: error: 'arr' was not declared in this scope
    if(arr[i] > A[j]){
       ^
foo.cpp:35:14: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator+'
   g[i] = 1 + max;
              ^

信息

递交者
类型
递交
题目
P1098 合唱队形
语言
C++
递交时间
2016-10-01 14:43:48
评测时间
2016-10-01 14:43:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes