Borderou de evaluare (job #2557094)

Utilizator mirceamaierean41Mircea Maierean mirceamaierean41 Data 25 februarie 2020 15:10:17
Problema Ferma3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:181:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if (a[i - 1][j] + a[i - 1][j] != a[i][j] > maxi) ~~~~~~~~^~~~~~ main.cpp:188:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if (a[i][j - 1] + a[i][j - 1] != a[i][j] > maxi) ~~~~~~~~^~~~~~ main.cpp:195:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if (a[i + 1][j] + a[i + 1][j] != a[i][j] > maxi) ~~~~~~~~^~~~~~ main.cpp:202:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if (a[i][j + 1] + a[i][j + 1] != a[i][j] > maxi) ~~~~~~~~^~~~~~ main.cpp:67:10: warning: unused variable 'max_char' [-Wunused-variable] char max_char; ^~~~~~~~ main.cpp:63:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 1; i <= n; ++i) ^~~ main.cpp:211:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fout << ax << " " << ay << "\n" << car << "\n"; ^~~~ main.cpp:62:8: warning: 'car' may be used uninitialized in this function [-Wmaybe-uninitialized] char car; ^~~ main.cpp:211:46: warning: 'ay' may be used uninitialized in this function [-Wmaybe-uninitialized] fout << ax << " " << ay << "\n" << car << "\n"; ^~~~ main.cpp:211:18: warning: 'ax' may be used uninitialized in this function [-Wmaybe-uninitialized] fout << ax << " " << ay << "\n" << car << "\n"; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbGresit!0
24ms393kbGresit!0
35ms786kbGresit!0
48ms917kbGresit!0
538ms8650kbGresit!0
62ms131kbGresit!0
73ms262kbCorect! Varianta 25
83ms262kbGresit!0
93ms393kbGresit!0
103ms393kbGresit!0
115ms524kbGresit!0
127ms786kbGresit!0
1311ms1310kbGresit!0
147ms786kbGresit!0
1512ms1048kbGresit!0
1612ms1048kbGresit!0
1712ms1179kbGresit!0
1812ms1048kbGresit!0
1918ms1572kbGresit!0
202ms131kbGresit!0
Punctaj total5

Ceva nu functioneaza?