Borderou de evaluare (job #3132942)

Utilizator alexandrumarinescu12345Marinescu Alexandru alexandrumarinescu12345 Data 24 mai 2023 15:16:10
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:66:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 66 | if((a[i][j+2]!=a[i][j] && a[i][j+2]!=a[i+1][j-1]) && (a[i][j+2]!=a[i+1][j+1] && a[i][j+2]>1)) | ^~ main.cpp:68:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 68 | if(s>max2) | ^~ main.cpp:78:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 78 | if((a[i+1][j+1]!=a[i][j] && a[i+1][j+1]!=a[i][j+2]) && (a[i+1][j+1]!=a[i-1][j+1] && a[i+1][j+1]>1)) | ^~ main.cpp:80:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 80 | if(s>max2) | ^~ main.cpp:90:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 90 | if((a[i+1][j+1]!=a[i][j] && a[i+1][j+1]!=a[i+2][j]) && (a[i+1][j+1]!=a[i+1][j-1] && a[i+1][j+1]>1)) | ^~ main.cpp:92:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 92 | if(s>max2) | ^~ main.cpp:102:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 102 | if((a[i][j+2]!=a[i][j] && a[i][j+2]!=a[i+1][j+1]) && (a[i][j+2]!=a[i-1][j+1] && a[i][j+2]>1)) | ^~ main.cpp:104:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 104 | if(s>max2) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbOK10
31ms819kbOK10
41ms819kbOK10
50ms557kbOK10
60ms303kbOK10
71ms557kbOK10
80ms303kbOK10
90ms303kbOK10
101ms1081kbOK10
Punctaj total90

Ceva nu functioneaza?