Pagini recente » Borderou de evaluare (job #2878002) | Borderou de evaluare (job #1470814) | Borderou de evaluare (job #889153) | Borderou de evaluare (job #1695403) | Borderou de evaluare (job #2367877)
Borderou de evaluare (job #2367877)
Raport evaluator
Compilare:
main.cpp: In member function 'bool comparare::operator()(poz, poz)':
main.cpp:21:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return A.cost<B.cost || (A.cost==B.cost && A.put < B.put) && (A.cost==B.cost && A.put == B.put && A.dest < B.dest);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int costminim(int)':
main.cpp:51:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Ad[nod].size();++i)
~^~~~~~~~~~~~~~~
main.cpp: In function 'void read()':
main.cpp:114:30: warning: 'pozitie' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<minim<<" "<<pozitie;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 131kb | OK | 10 |
2 | 4ms | 131kb | Incorect | 0 |
3 | 68ms | 131kb | Incorect | 0 |
4 | 5ms | 131kb | Incorect | 0 |
5 | 4ms | 131kb | Incorect | 0 |
6 | 33ms | 131kb | Incorect | 0 |
7 | 39ms | 131kb | Incorect | 0 |
8 | 11ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 7ms | 131kb | Incorect | 0 |
Punctaj total | 10 |