Borderou de evaluare (job #2088791)
Utilizator | Data | 15 decembrie 2017 21:18:34 | |
---|---|---|---|
Problema | Radacina2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:7: error: ‘I64’ does not name a type
const I64 NMAX = 50;
^
user.cpp:10:1: error: ‘I64’ does not name a type
I64 N, X, P;
^
user.cpp:11:1: error: ‘I64’ does not name a type
I64 c[NMAX+2][NMAX+2], d[NMAX+2][NMAX+2], sp[NMAX+2][NMAX+2];
^
user.cpp:13:17: error: variable or field ‘add’ declared void
inline void add(I64 &x, const I64& y)
^
user.cpp:13:17: error: ‘I64’ was not declared in this scope
user.cpp:13:22: error: ‘x’ was not declared in this scope
inline void add(I64 &x, const I64& y)
^
user.cpp:13:25: error: expected primary-expression before ‘const’
inline void add(I64 &x, const I64& y)
^
user.cpp:20:8: error: ‘I64’ does not name a type
inline I64 mult(I64 a, I64 b, I64 c, I64 d, I64 e)
^
user.cpp: In function ‘void precalc()’:
user.cpp:28:5: error: ‘c’ was not declared in this scope
c[0][0] = 1;
^
user.cpp:30:10: error: ‘I64’ was not declared in this scope
for( I64 i = 2; i <= NMAX; ++i ) for( I64 j = 0; j <= NMAX; ++j ) {
^
user.cpp:30:14: error: expected ‘;’ before ‘i’
for( I64 i = 2; i <= NMAX; ++i ) for( I64 j = 0; j <= NMAX; ++j ) {
^
user.cpp:30:22: error: ‘i’ was not declared in this scope
for( I64 i = 2; i <= NMAX; ++i ) for( I64 j = 0; j <= NMAX; ++j ) {
^
user.cpp:30:27: error: ‘NMAX’ was not declared in this scope
for( I64 i = 2; i <= NMAX; ++i ) for( I64 j = 0; j <= NMAX; ++j ) {
^
user.cpp:30:49: error: expected ‘;’ before ‘j’
for( I64 i = 2; i <= NMAX; ++i ) for( I64 j = 0; j <= NMAX; ++j ) {
^
user.cpp:30:57: error: ‘j’ was not declared in this scope
for( I64 i = 2; i <= NMAX; ++i ) for( I64 j = 0; j <= NMAX; ++j ) {
^
user.cpp:33:41: error: ‘add’ was not declared in this scope
add(c[i][j], c[i - 1][j - 1]);
^
user.cpp:36:5: error: ‘d’ was not declared in this scope
d[1][1] = 1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !