Borderou de evaluare (job #2812922)
Utilizator | Data | 5 decembrie 2021 14:29:13 | |
---|---|---|---|
Problema | Diametrul unui arbore | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'bool Graph::is_correct_graph(std::vector<int>)':
main.cpp:68:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | if(v>grade.size())
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Undirected::criticalConnections(std::vector<std::vector<int> >&)':
main.cpp:259:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
259 | for(int i = 0; i < connections.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
271 | for(int i=0;i<output.size();i++)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'void Directed::findCTC()':
main.cpp:386:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
386 | for(int i=0;i<sol.size();i++)
| ~^~~~~~~~~~~
main.cpp:388:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
388 | for(int j=0;j<sol[i].size();j++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:772:28: error: 'INT_MIN' was not declared in this scope
772 | int maxCount = INT_MIN;
| ^~~~~~~
main.cpp:21:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
20 | #include <algorithm>
+++ |+#include <climits>
21 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !