Borderou de evaluare (job #2039243)
Utilizator | Data | 14 octombrie 2017 12:58:09 | |
---|---|---|---|
Problema | Cablaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:16: error: ‘p’ was not declared in this scope
fin >> p[i].x >> p[i].y;
^
user.cpp:17:9: error: ‘nrmax’ was not declared in this scope
nrmax = 1;
^
user.cpp:18:9: error: ‘c’ was not declared in this scope
c[nodmax] = -1;
^
user.cpp:18:11: error: ‘nodmax’ was not declared in this scope
c[nodmax] = -1;
^
user.cpp:22:52: error: ‘dist’ was not declared in this scope
if(c[i] != -1)c[i] = min(c[i],dist(i, j));
^
user.cpp:23:34: error: ‘dist’ was not declared in this scope
else c[i] = dist(i, j);
^
user.cpp:30:9: error: ‘costf’ was not declared in this scope
costf +=minim;
^
user.cpp:32:13: error: ‘costf’ was not declared in this scope
fout << costf;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !