Borderou de evaluare (job #2605683)

Utilizator alex_benescuAlex Ben alex_benescu Data 25 aprilie 2020 17:26:56
Problema Cartele Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(v!=z[i][j]) ok1=0; if(v!=z[n-j+1][i]) ok2=0; if(v!=z[j][n-i+1]) ok3=0; if(v!=z[n-i+1][n-j+1]) ok4=0; if(v!=z[n-i+1][j]) ok5=0; if(v!=z[j][i]) ok6=0; if(v!=z[i][n-j+1]) ok7=0; if(v!=z[n-j+1][n-i+1]) ok8=0; ^~ main.cpp:19:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(v!=z[i][j]) ok1=0; if(v!=z[n-j+1][i]) ok2=0; if(v!=z[j][n-i+1]) ok3=0; if(v!=z[n-i+1][n-j+1]) ok4=0; if(v!=z[n-i+1][j]) ok5=0; if(v!=z[j][i]) ok6=0; if(v!=z[i][n-j+1]) ok7=0; if(v!=z[n-j+1][n-i+1]) ok8=0; ^~ main.cpp:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n;i++) ^~~ main.cpp:21:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(ok1||ok2||ok3||ok4||ok5||ok6||ok7||ok8) ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1050
22ms131kbOK10
34ms131kbOK10
46ms131kbOK10
56ms131kbOK10
67ms131kbOK1050
715ms131kbOK10
815ms131kbOK10
919ms131kbOK10
1034ms131kbOK10
Punctaj total100

Ceva nu functioneaza?