Borderou de evaluare (job #3041875)

Utilizator Alexander444Alex Chiriac Alexander444 Data 2 aprilie 2023 11:34:44
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:38: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 32 | else if(temp<sm) | ^~ main.cpp:33:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 33 | sm=temp;sp=j; | ^~ main.cpp:62:30: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 62 | else if(temp<nsm) | ^~ main.cpp:63:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 63 | nsm=temp;nsp=j; | ^~~ main.cpp:13:53: warning: variable 'sp' set but not used [-Wunused-but-set-variable] 13 | unsigned int fm=UINT32_MAX,sm=UINT32_MAX,fp,sp;// first/second+min/pos | ^~ main.cpp:47:18: warning: unused variable 'save' [-Wunused-variable] 47 | uint32_t save; | ^~~~ main.cpp:68:9: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 68 | if(fp==m-1) | ^~ main.cpp:13:50: note: 'fp' was declared here 13 | unsigned int fm=UINT32_MAX,sm=UINT32_MAX,fp,sp;// first/second+min/pos | ^~ main.cpp:70:29: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 70 | g<<fm+v.at(n-1).at(j-1)<<'\n'; | ~^~ main.cpp:12:28: note: 'j' was declared here 12 | unsigned int n,m,i,j,temp; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms557kbOK1030
22ms557kbOK10
30ms303kbOK10
40ms303kbOK1030
50ms303kbOK10
60ms303kbOK10
70ms303kbOK1040
80ms303kbOK10
90ms303kbOK10
102ms557kbOK10
Punctaj total100

Ceva nu functioneaza?