/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:7: error: 'n' was not declared in this scope
  cin>>n;
       ^
/in/foo.cc:29:6: error: 'i' was not declared in this scope
  for(i=1;i<=n;i++)
      ^
/in/foo.cc:31:8: error: 'a' was not declared in this scope
   cin>>a[i]>>b[i]>>c[i];
        ^
/in/foo.cc:31:14: error: 'b' was not declared in this scope
   cin>>a[i]>>b[i]>>c[i];
              ^
/in/foo.cc:31:20: error: 'c' was not declared in this scope
   cin>>a[i]>>b[i]>>c[i];
                    ^
/in/foo.cc:33:6: error: 'i' was not declared in this scope
  for(i=1;i<=n-1;i++)
      ^
/in/foo.cc:35:5: error: 'a' was not declared in this scope
   w(a[i],b[i],c[i]);
     ^
/in/foo.cc:35:10: error: 'b' was not declared in this scope
   w(a[i],b[i],c[i]);
          ^
/in/foo.cc:35:15: error: 'c' was not declared in this scope
   w(a[i],b[i],c[i]);
               ^
/in/foo.cc:35:19: error: 'w' cannot be used as a function
   w(a[i],b[i],c[i]);
                   ^
/in/foo.cc:36:38: error: 'w' cannot be used as a function
   cout<<"w(x,y,z)="<<w(a[i],b[i],c[i])<<endl;
                                      ^

信息

递交者
类型
递交
题目
P1080 Function(Function(F...
语言
C++
递交时间
2018-06-17 21:13:08
评测时间
2018-06-17 21:13:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes