Borderou de evaluare (job #2205354)
| Utilizator | Data | 18 mai 2018 21:02:32 | |
|---|---|---|---|
| Problema | Arbore partial de cost minim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:19:32: error: ISO C++ forbids declaration of ‘operator<’ with no type [-fpermissive]
operator<(const edge& other){
^
user.cpp:38:1: error: ‘vector’ does not name a type
vector<edge> solution;
^~~~~~
user.cpp: In function ‘void linkEdge()’:
user.cpp:83:5: error: ‘solution’ was not declared in this scope
solution.push_back(edges[crtEdge]);
^~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:114:19: error: ‘solution’ was not declared in this scope
for(auto &x : solution)
^~~~~~~~
user.cpp:118:19: error: ‘solution’ was not declared in this scope
for(auto &x : solution)
^~~~~~~~
user.cpp:93:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
