Borderou de evaluare (job #3121044)

Utilizator ana_valeriaAna Valeria Duguleanu ana_valeria Data 10 aprilie 2023 16:13:07
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:14:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 14 | for (i=0; i<lista[nod].size(); i++) | ~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:78:31: warning: 'j2' may be used uninitialized [-Wmaybe-uninitialized] 78 | cout<<maxx<<" "<<j1<<" "<<j2; | ^~ main.cpp:40:42: note: 'j2' was declared here 40 | int n,q,i,j,x,y,cur_p,rad,pp,maxx,j1,j2; | ^~ main.cpp:78:26: warning: 'j1' may be used uninitialized [-Wmaybe-uninitialized] 78 | cout<<maxx<<" "<<j1<<" "<<j2; | ^~~ main.cpp:40:39: note: 'j1' was declared here 40 | int n,q,i,j,x,y,cur_p,rad,pp,maxx,j1,j2; | ^~ main.cpp:65:8: warning: 'rad' may be used uninitialized [-Wmaybe-uninitialized] 65 | dfs(rad); | ~~~^~~~~ main.cpp:40:27: note: 'rad' was declared here 40 | int n,q,i,j,x,y,cur_p,rad,pp,maxx,j1,j2; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
41ms819kbOK10
51ms819kbOK10
64ms1867kbOK10
739ms6324kbOK10
88ms3440kbOK10
964ms5013kbOK10
1088ms5013kbOK10
Punctaj total100

Ceva nu functioneaza?