Borderou de evaluare (job #1333397)
Utilizator | Data | 3 februarie 2015 09:11:23 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:21: error: expected ‘]’ before numeric constant
#define NMAX 100 1
^
user.cpp:13:7: note: in expansion of macro ‘NMAX’
int G[NMAX][NMAX];
^
user.cpp:2:21: error: expected ‘]’ before numeric constant
#define NMAX 100 1
^
user.cpp:14:7: note: in expansion of macro ‘NMAX’
int d[NMAX];
^
user.cpp:2:21: error: expected ‘]’ before numeric constant
#define NMAX 100 1
^
user.cpp:15:8: note: in expansion of macro ‘NMAX’
int uz[NMAX];
^
user.cpp: In function ‘void citire()’:
user.cpp:77:11: error: ‘G’ was not declared in this scope
++G[a][b];
^
user.cpp:79:11: error: ‘d’ was not declared in this scope
++d[a];
^
user.cpp: In function ‘bool conex(int)’:
user.cpp:89:5: error: ‘uz’ was not declared in this scope
uz[vf]=1; ++nr;
^
user.cpp:93:13: error: ‘G’ was not declared in this scope
if (G[vf][i] && !uz[i])
^
user.cpp: In function ‘bool grade_pare()’:
user.cpp:102:13: error: ‘d’ was not declared in this scope
if (d[i]%2)
^
user.cpp: In function ‘int caut_vf_adiacent(int)’:
user.cpp:141:13: error: ‘G’ was not declared in this scope
if (G[x][i])
^
user.cpp:145:15: error: ‘d’ was not declared in this scope
--d[i];
^
user.cpp: In function ‘int det_varf()’:
user.cpp:156:13: error: ‘d’ was not declared in this scope
if (d[p->vf])
^
user.cpp: In function ‘void citire()’:
user.cpp:73:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !