Borderou de evaluare (job #2813945)

Utilizator ioan_mateiioan matei ioan_matei Data 7 decembrie 2021 12:10:34
Problema Parantezare optima de matrici Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 18 | for(int i=0; i<=n; i++) | ~^~~ main.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 23 | for(int i=1; i<=n; i++) M[i][i] = 0; | ~^~~ main.cpp:24:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 24 | for(int i=1; i<=n - 1; i++) M[i][i + 1] = d[i - 1] * d[i] * d[i + 1]; | ~^~~~~~~ main.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 25 | for(int w=2; w<=n - 1; w++) | ~^~~~~~~ main.cpp:26:24: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 26 | for (int i= 1;i<=n - w; i++) | ~^~~~~~~ main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 25 | for(int w=2; w<=n - 1; w++) | ^~~ main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 33 | fout<<M[1][n]; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
716ms987kbOK10
864ms1449kbOK10
9160ms1880kbIncorect0
10320ms2265kbIncorect0
Punctaj total80

Ceva nu functioneaza?