Borderou de evaluare (job #330860)
Utilizator | Data | 11 iulie 2009 20:12:45 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/fstream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:108:2: warning: no newline at end of file
user.cpp: In function 'void Dijkstra(int)':
user.cpp:64: warning: comparison between signed and unsigned integer expressions
user.cpp:65: error: 'T' was not declared in this scope
user.cpp:70: error: invalid initialization of reference of type 'int&' from expression of type 'unsigned int'
user.cpp:36: error: in passing argument 2 of 'HEAP ExtractMinHeap(HEAP*, int&)'
user.cpp:80: error: name lookup of 'i' changed for new ISO 'for' scoping
user.cpp:64: error: using obsolete binding at 'i'
user.cpp:80: warning: comparison between signed and unsigned integer expressions
user.cpp:90: error: invalid initialization of reference of type 'int&' from expression of type 'unsigned int'
user.cpp:36: error: in passing argument 2 of 'HEAP ExtractMinHeap(HEAP*, int&)'
user.cpp:91: warning: suggest parentheses around assignment used as truth value
user.cpp: In function 'void output()':
user.cpp:96: error: 'i' was not declared in this scope
user.cpp:97: error: 'cout' was not declared in this scope
user.cpp:98: error: 'cout' was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !