Borderou de evaluare (job #1021941)
Utilizator | Data | 4 noiembrie 2013 15:01:34 | |
---|---|---|---|
Problema | Stramosi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:26: error: ‘a’ was not declared in this scope
{ fscanf(fin, "%d", &a[0][i]);
^
user.cpp:4:21: error: expected ‘;’ before ‘int’
#define MAXLOGN 18 int a[MAXLOGN][MAXN];
^
user.cpp:11:23: note: in expansion of macro ‘MAXLOGN’
} for (int i=1;i<MAXLOGN;i++)
^
user.cpp:4:21: error: expected primary-expression before ‘int’
#define MAXLOGN 18 int a[MAXLOGN][MAXN];
^
user.cpp:11:23: note: in expansion of macro ‘MAXLOGN’
} for (int i=1;i<MAXLOGN;i++)
^
user.cpp:4:21: error: expected ‘)’ before ‘int’
#define MAXLOGN 18 int a[MAXLOGN][MAXN];
^
user.cpp:11:23: note: in expansion of macro ‘MAXLOGN’
} for (int i=1;i<MAXLOGN;i++)
^
user.cpp:4:27: error: ‘MAXLOGN’ was not declared in this scope
#define MAXLOGN 18 int a[MAXLOGN][MAXN];
^
user.cpp:11:23: note: in expansion of macro ‘MAXLOGN’
} for (int i=1;i<MAXLOGN;i++)
^
user.cpp:11:31: error: ‘i’ was not declared in this scope
} for (int i=1;i<MAXLOGN;i++)
^
user.cpp:11:34: error: expected ‘;’ before ‘)’ token
} for (int i=1;i<MAXLOGN;i++)
^
user.cpp:12:20: error: ‘j’ was not declared in this scope
for (int j=1;j<=n;j++)
^
user.cpp:12:28: error: expected ‘;’ before ‘)’ token
for (int j=1;j<=n;j++)
^
user.cpp:15:61: error: ‘a’ was not declared in this scope
for (int k=17;k>=0 && q>0;k--) if (p & (1<<k)) q = a[k][q];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !