Borderou de evaluare (job #1501344)
Utilizator | Data | 13 octombrie 2015 12:24:58 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Lanterna()’:
user.cpp:80:9: error: invalid types ‘int[int]’ for array subscript
timp[1]=0;
^
user.cpp:90:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<L[k].size(); j++)
^
user.cpp:92:30: error: ‘costt’ was not declared in this scope
i = L[k][j].nod; costt = L[k][j].cost;
^
user.cpp:94:24: error: invalid types ‘int[int]’ for array subscript
if (!timp[i] || timp[i] >= timp[k] + timp)
^
user.cpp:94:35: error: invalid types ‘int[int]’ for array subscript
if (!timp[i] || timp[i] >= timp[k] + timp)
^
user.cpp:94:46: error: invalid types ‘int[int]’ for array subscript
if (!timp[i] || timp[i] >= timp[k] + timp)
^
user.cpp:96:20: error: ‘cost’ was not declared in this scope
cost[i] = cost[k] + costt;
^
user.cpp:100:20: error: ‘struct Nod’ has no member named ‘q’
q.push(w1);
^
user.cpp:74:9: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,timp;
^
user.cpp: In function ‘void Print_that()’:
user.cpp:109:12: error: ‘cost’ was not declared in this scope
fout << cost[i] << " ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !