Pagini recente » Borderou de evaluare (job #2730915) | Borderou de evaluare (job #159400) | Borderou de evaluare (job #2006169) | Borderou de evaluare (job #1558081) | Borderou de evaluare (job #2820208)
Borderou de evaluare (job #2820208)
Raport evaluator
Compilare:
main.cpp:16: warning: "INT_MAX" redefined
16 | #define INT_MAX 2147483640
|
In file included from main.cpp:13:
/usr/lib/gcc/x86_64-linux-gnu/10/include/limits.h:120: note: this is the location of the previous definition
120 | #define INT_MAX __INT_MAX__
|
main.cpp: In member function 'void Graph::BFS(int)':
main.cpp:107:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for (int i = 0; i < adiacenta[nodCurent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::distantaCatreToateNodurile(int)':
main.cpp:153:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
153 | for (int i = 0; i < adiacenta[nodCurent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::DFSUtil(int, std::vector<bool>&)':
main.cpp:273:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
273 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::sortareTopologicaUtil(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:291:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
291 | for (int i = 0; i < adiacenta[v].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::afisareCicluEuler(std::vector<int>)':
main.cpp:308:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
308 | for (int i = 0; i < ciclu.size() - 1; ++i) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool havelHakimi(std::vector<int>&, int)':
main.cpp:682:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
682 | if (v > grade.size())
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int GraphHamilton::hamilton()':
main.cpp:740:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
740 | for (int k = 0; k < adiacenta[j].size(); k++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:747:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
747 | for (int i = 0; i < adiacenta[0].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Fisier de iesire corupt! | 0 | 0 |
2 | 2ms | 184kb | Fisier de iesire corupt! | 0 | 0 |
3 | 2ms | 184kb | Fisier de iesire corupt! | 0 | 0 |
4 | 30ms | 1331kb | Fisier de iesire corupt! | 0 | 0 |
5 | 78ms | 3764kb | Fisier de iesire corupt! | 0 | 0 |
6 | 292ms | 11898kb | Fisier de iesire corupt! | 0 | 0 |
7 | 120ms | 6754kb | Raspuns corect! | 10 | 0 |
8 | 392ms | 17068kb | Fisier de iesire corupt! | 0 |
9 | 333ms | 17383kb | Fisier de iesire corupt! | 0 | 0 |
10 | 464ms | 20451kb | Fisier de iesire corupt! | 0 |
Punctaj total | 0 |