Borderou de evaluare (job #2186793)
Utilizator | Data | 25 martie 2018 22:40:06 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:44: error: size of array ‘v_t’ is too large
int dist[50100], a[50010], v_t[50010][50010], viz[50010];
^
user.cpp: In function ‘int main()’:
user.cpp:29:10: error: ‘v_t’ was not declared in this scope
v_t[x][y] = z;
^~~
user.cpp:44:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (viz[c])
^~
user.cpp:46:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
int p = v[c].size();
^~~
user.cpp:42:14: warning: unused variable ‘d’ [-Wunused-variable]
int d = q.top().first;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !