Borderou de evaluare (job #3337953)

Utilizator YannYann Spataru Yann Data 30 ianuarie 2026 22:35:18
Problema Studenti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:96: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 46 | if (n3!=g1 && n3!=n2 && (v[g1].g+v[n2].g+v[n3].g)*(v[g1].h+v[n2].h+v[n3].h)<minn) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:56:106: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 56 | if (n3!=g1 && n3!=g1 && n3!=n2 && (v[g1].g+v[n2].g+v[n3].g)*(v[g1].h+v[n2].h+v[n3].h)<minn) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:83:83: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 83 | if((v[g1].g+v[g2].g+v[g3].g)*(v[h1].h+v[h2].h+v[h3].h)<minn) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:87:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 87 | if(n2!=n4 && n4!=n3 && n4!=g1 || n4!=h1) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ main.cpp:88:91: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 88 | if((v[g1].g+v[g2].g+v[g3].g)*(v[h1].h+v[h2].h+v[h3].h)<minn) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:82:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 82 | if(g3>0) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
40ms303kbIncorect00
53ms303kbIncorect0
60ms303kbIncorect0
819ms303kbIncorect0
70ms303kbIncorect00
943ms303kbIncorect0
1072ms303kbIncorect00
Punctaj total0

Ceva nu functioneaza?