Pagini recente » Borderou de evaluare (job #744077) | Borderou de evaluare (job #393100) | Borderou de evaluare (job #2112264) | Borderou de evaluare (job #146036) | Borderou de evaluare (job #2805961)
Borderou de evaluare (job #2805961)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::sortare_topologica()':
main.cpp:121:27: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
121 | while(rezolvare.size()<n){
| ~~~~~~~~~~~~~~~~^~
main.cpp:122:45: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
122 | for(int i=1;i<=n && rezolvare.size()<n;i++){
| ~~~~~~~~~~~~~~~~^~
main.cpp: In member function 'void graf::ctc()':
main.cpp:171:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
171 | for(int j=0;j<vecini[i].size();j++){
| ~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Componente_Biconexe()':
main.cpp:222:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
222 | for(int i=0;i<solutie.size();i++){
| ~^~~~~~~~~~~~~~~
main.cpp:223:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
223 | for(int j=0;j<solutie[i].size();j++){
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::DFS3(int, int*, bool*, std::stack<std::pair<int, int> >&, int*, int*, std::vector<std::vector<int> >&, int)':
main.cpp:265:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
265 | for(int j=0;j<temporar_muchii[1].size();j++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Muchii_Critice()':
main.cpp:298:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
298 | for(int i=0;i<solutie.size();i++){
| ~^~~~~~~~~~~~~~~
main.cpp:300:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
300 | if(i!=solutie.size()-1){
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool Havel_Hakimi(std::vector<int>)':
main.cpp:342:29: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
342 | if(grade[grade.size()-1]>grade.size()-1){
main.cpp:348:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
348 | if(cel_cel_mai_mare_grad>grade.size()){
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In member function 'void graf_cu_costuri::kruskall()':
main.cpp:495:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
495 | for(int i=0;i<muchii.size();i++){
| ~^~~~~~~~~~~~~~
main.cpp:504:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
504 | for(int i=0;i<solutie.size();i++){
| ~^~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_cu_costuri::dijkstra(int)':
main.cpp:533:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
533 | for(int i=0;i<vecini[nod_curent].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 200kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 25ms | 983kb | OK | 10 |
6 | 49ms | 1581kb | OK | 10 |
7 | 64ms | 2191kb | OK | 10 |
8 | 160ms | 4452kb | OK | 10 |
9 | 116ms | 3895kb | OK | 10 |
10 | 301ms | 6189kb | OK | 10 |
Punctaj total | 100 |