Borderou de evaluare (job #2587165)

Utilizator AnnaLipianuLipianu Ana AnnaLipianu Data 22 martie 2020 13:11:07
Problema Interclasare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=n;i>=1;i--) ^~~ main.cpp:53:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cin>>m; ^~~ main.cpp:89:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=m;i>=1;i--) ^~~ main.cpp:96:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cout<<k1+k2<<'\n'; ^~~~ main.cpp:11:28: warning: unused variable 'max' [-Wunused-variable] int i,n,nr,p,mij,st,dr,max,k1,k2,m; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK!10
25ms262kbOK!10
36ms262kbOK!10
47ms262kbOK!10
58ms393kbOK!10
610ms393kbOK!10
711ms393kbOK!10
812ms393kbOK!10
913ms524kbOK!10
1015ms524kbOK!10
Punctaj total100

Ceva nu functioneaza?