Pagini recente » Borderou de evaluare (job #2017041) | Borderou de evaluare (job #169600) | Cod sursa (job #2505011) | Borderou de evaluare (job #2017693) | Borderou de evaluare (job #2794077)
Borderou de evaluare (job #2794077)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::sortvecini()':
main.cpp:97:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<unsigned int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | for (int i=1; i<this->lista_vecini.size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:100:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | for (j=0; j<lista_vecini[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::biconex(unsigned int)':
main.cpp:180:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
180 | for (i=1; i<=n; ++i)
| ~^~~
main.cpp:190:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
190 | for (auto j = afisare[i].begin(); j != afisare[i].end(); ++ j)
| ^~~
main.cpp:192:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
192 | g<<"\n";
| ^
main.cpp:211:26: warning: unused variable 'first' [-Wunused-variable]
211 | bool first=true;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 12ms | 393kb | Corect | 10 |
5 | 2ms | 188kb | Corect | 10 |
6 | 6ms | 1224kb | Corect | 10 |
7 | 24ms | 2449kb | Corect | 10 |
8 | 402ms | 40062kb | Time limit exceeded | 0 |
9 | 277ms | 15683kb | Corect | 10 |
10 | 407ms | 20692kb | Time limit exceeded | 0 |
Punctaj total | 80 |