Borderou de evaluare (job #2248392)
Utilizator | Data | 29 septembrie 2018 12:31:16 | |
---|---|---|---|
Problema | Capitala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:24: error: size of array ‘a’ is too large
int n, a[200001][200001];
^
user.cpp: In function ‘void citire()’:
user.cpp:26:17: error: ‘a’ was not declared in this scope
a[i][j]=-1;
^
user.cpp:28:9: error: ‘a’ was not declared in this scope
a[x-1][y-1] = a[y-1][x-1] = 1;
^
user.cpp: In function ‘void setare_distante()’:
user.cpp:36:36: error: ‘a’ was not declared in this scope
if(i!=k && j!=k && a[k][j]!=-1 && a[i][k]!=-1)
^
user.cpp: In function ‘void caut_dist_min()’:
user.cpp:47:20: error: ‘a’ was not declared in this scope
d_cur+=a[i][j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !