Borderou de evaluare (job #1069448)
Utilizator | Data | 30 decembrie 2013 01:28:27 | |
---|---|---|---|
Problema | Grazing | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Clear(int*)’:
user.cpp:30:9: error: ‘i’ was not declared in this scope
for(i = A[0]; i>=0; --i)
^
user.cpp: At global scope:
user.cpp:34:31: error: ISO C++ forbids declaration of ‘Div’ with no type [-fpermissive]
inline Div(int V[],const int x)
^
user.cpp: In function ‘int Div(int*, int)’:
user.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void Write()’:
user.cpp:51:13: error: ‘V’ was not declared in this scope
int i = V[0];
^
user.cpp: In function ‘int main()’:
user.cpp:73:20: error: incompatible types in assignment of ‘int’ to ‘int [50]’
Comb[i][0] = 1;
^
user.cpp:74:31: error: invalid operands of types ‘int [50]’ and ‘int’ to binary ‘operator*’
Fact[i] = Fact[i-1] * i;
^
user.cpp:89:26: error: too few arguments to function ‘void Add(int*, const int*, const int*)’
Add(dp[i],Aux);
^
user.cpp:8:13: note: declared here
inline void Add(int Now[],const int V[],const int X[])
^
user.cpp:95:30: error: too few arguments to function ‘void Add(int*, const int*, const int*)’
Add(dp[i],Aux);
^
user.cpp:8:13: note: declared here
inline void Add(int Now[],const int V[],const int X[])
^
user.cpp:102:11: error: request for member ‘Write’ in ‘dp[n]’, which is of non-class type ‘int [50]’
dp[n].Write();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !