Borderou de evaluare (job #3237590)

Utilizator Dragos__1_1Dragos Antohi Dragos__1_1 Data 10 iulie 2024 13:09:55
Problema Biperm Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int dfs(int)': main.cpp:44:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<per>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 44 | for (int i=0;i<adj1[node].size();i++) | ~^~~~~~~~~~~~~~~~~~ main.cpp:56:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<per>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for (int j=0;j<adj1[S.top()].size();j++) | ~^~~~~~~~~~~~~~~~~~~~~ main.cpp:65:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<per>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | for (int j=0;j<adj1[S.top()].size();j++) | ~^~~~~~~~~~~~~~~~~~~~~ main.cpp:77:32: warning: unused variable 'ok2' [-Wunused-variable] 77 | int ant=S.top(),i2,ok2=1,prim=S.top(); | ^~~ main.cpp:43:28: warning: unused variable 'nod' [-Wunused-variable] 43 | { int solmin=100005,solc,nod;ok=0; | ^~~ main.cpp: In function 'int main()': main.cpp:128:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 128 | for (i=1;i<=n;i++) | ^~~ main.cpp:135:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 135 | rasp=(1<<cnt); | ^~~~ main.cpp:137:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 137 | for (i=1;i<=n;i++)g<<sir[0][i]<<' ';g<<'\n'; | ^~~ main.cpp:137:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 137 | for (i=1;i<=n;i++)g<<sir[0][i]<<' ';g<<'\n'; | ^ main.cpp:138:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 138 | for (i=1;i<=n;i++)g<<sir[1][i]<<' ';g<<'\n'; | ^~~ main.cpp:138:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 138 | for (i=1;i<=n;i++)g<<sir[1][i]<<' ';g<<'\n'; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect10
20ms303kbCorect10
30ms303kbCorect10
40ms303kbCorect10
50ms303kbCorect10
60ms303kbCorect10
70ms303kbCorect10
80ms303kbCorect10
96ms1867kbCorect10
106ms1867kbCorect10
Punctaj total100

Ceva nu functioneaza?