Borderou de evaluare (job #2857373)

Utilizator monica_LMonica monica_L Data 25 februarie 2022 14:56:30
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:14:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 14 | for(int i=0; i<v[nod].size(); i++) | ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:62:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 62 | if (premiu[a]>mx || premiu[a]==mx && x<xx || premiu[a]==mx && x==xx && y<yy) | ~~~~~~~~~~~~~~^~~~~~~ main.cpp:62:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 62 | if (premiu[a]>mx || premiu[a]==mx && x<xx || premiu[a]==mx && x==xx && y<yy) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ main.cpp:69:26: warning: 'yy' may be used uninitialized in this function [-Wmaybe-uninitialized] 69 | g<<mx<<" "<<xx<<" "<<yy; | ^~ main.cpp:69:21: warning: 'xx' may be used uninitialized in this function [-Wmaybe-uninitialized] 69 | g<<mx<<" "<<xx<<" "<<yy; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms4993kbIncorect0
26ms4931kbIncorect0
36ms4947kbIncorect0
444ms5107kbIncorect0
544ms5107kbIncorect0
6141ms7417kbIncorect0
7901ms10600kbTime limit exceeded0
8169ms7667kbIncorect0
9902ms8241kbTime limit exceeded0
10902ms8269kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?