Borderou de evaluare (job #1249742)
Utilizator | Data | 27 octombrie 2014 13:31:23 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:37: error: size of array ‘g’ is too large
int m2[dmax], m1[dmax], g[dmax][dmax], gt[dmax][dmax], n, m, lg1, lg2, nrCtc;
^
user.cpp:7:53: error: size of array ‘gt’ is too large
int m2[dmax], m1[dmax], g[dmax][dmax], gt[dmax][dmax], n, m, lg1, lg2, nrCtc;
^
user.cpp: In function ‘void citire()’:
user.cpp:28:9: error: ‘g’ was not declared in this scope
g[x][ ++g[x][0] ]=y;
^
user.cpp:29:9: error: ‘gt’ was not declared in this scope
gt[y][ ++gt[y][0] ]=x;
^
user.cpp: In function ‘void rez()’:
user.cpp:36:29: error: ‘g’ was not declared in this scope
dfs(i, m1, lg1, g);
^
user.cpp:38:29: error: ‘gt’ was not declared in this scope
dfs(i, m2, lg2, gt);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !