F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_13801407_32419.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13801407_32419.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13801407_32419.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13801407_32419.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13801407_32419.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13801407_32419.cpp:15:37: error: 'vector' has not been declared
 void Divide_And_Conquer(int x,int y,vector &v,vector a)
                                     ^
0_0_13801407_32419.cpp:15:47: error: 'vector' has not been declared
 void Divide_And_Conquer(int x,int y,vector &v,vector a)
                                               ^
0_0_13801407_32419.cpp: In function 'void Divide_And_Conquer(int, int, int&, int)':
0_0_13801407_32419.cpp:18:5: error: 'vector' was not declared in this scope
     vector l,r;
     ^
0_0_13801407_32419.cpp:19:25: error: request for member 'size' in 'v', which is of non-class type 'int'
     for(i=0;i<(signed)v.size();i++)
                         ^
0_0_13801407_32419.cpp:21:22: error: invalid types 'int[int]' for array subscript
         abcd temp=v[i];
                      ^
0_0_13801407_32419.cpp:24:21: error: invalid types 'int[int]' for array subscript
                 (a[j]+=a[j-temp.x])%=10;
                     ^
0_0_13801407_32419.cpp:24:34: error: invalid types 'int[int]' for array subscript
                 (a[j]+=a[j-temp.x])%=10;
                                  ^
0_0_13801407_32419.cpp:26:13: error: 'l' was not declared in this scope
             l.push_back(temp);
             ^
0_0_13801407_32419.cpp:28:13: error: 'r' was not declared in this scope
             r.push_back(temp);
             ^
0_0_13801407_32419.cpp:30:13: error: 'l' was not declared in this scope
             l.push_back(abcd(temp.l,mid,temp.x)),r.push_back(abcd(mid+1,temp.r,temp.x));
             ^
0_0_13801407_32419.cpp:30:50: error: 'r' was not declared in this scope
             l.push_back(abcd(temp.l,mid,temp.x)),r.push_back(abcd(mid+1,temp.r,temp.x));
                                                  ^
0_0_13801407_32419.cpp:35:28: error: invalid types 'int[int]' for array subscript
             printf("%d",a[i]);
                            ^
0_0_13801407_32419.cpp:35:29: error: 'printf' was not declared in this scope
             printf("%d",a[i]);
                             ^
0_0_13801407_32419.cpp:36:16: error: 'puts' was not declared in this scope
         puts("");
                ^
0_0_13801407_32419.cpp:39:30: error: 'l' was not declared in this scope
     Divide_And_Conquer(x,mid,l,a);
                              ^
0_0_13801407_32419.cpp:40:32: error: 'r' was not declared in this scope
     Divide_And_Conquer(mid+1,y,r,a);
                                ^
0_0_13801407_32419.cpp: In function 'int main()':
0_0_13801407_32419.cpp:45:5: error: 'cin' was not declared in this scope
     cin>>n>>m;
     ^
0_0_13801407_32419.cpp:46:5: error: 'vector' was not declared in this scope
     vector v;
     ^
0_0_13801407_32419.cpp:49:22: error: 'scanf' was not declared in this scope
         scanf("%d",&x);
                      ^
0_0_13801407_32419.cpp:51:13: error: 'v' was not declared in this scope
             v.push_back(abcd(1,i-1,x));
             ^
0_0_13801407_32419.cpp:53:13: error: 'v' was not declared in this scope
             v.push_back(abcd(i+1,n,x));
             ^
0_0_13801407_32419.cpp:55:12: error: expected ';' before 'a'
     vector a(m+1,0);a[0]=1;
            ^
0_0_13801407_32419.cpp:55:21: error: 'a' was not declared in this scope
     vector a(m+1,0);a[0]=1;
                     ^
0_0_13801407_32419.cpp:56:28: error: 'v' was not declared in this scope
     Divide_And_Conquer(1,n,v,a);
                            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 07:33:22, Gzip enabled