Borderou de evaluare (job #2331863)

Utilizator RazvanucuPopan Razvan Calin Razvanucu Data 30 ianuarie 2019 07:23:30
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void afisare(int, int)': main.cpp:12:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(a[i][j]) ^ main.cpp: In function 'int main()': main.cpp:27:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<M;i++) ^~~ main.cpp:30:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(i=0;i<N;i++) ^~~ main.cpp:33:19: warning: statement has no effect [-Wunused-value] a[i][j]==1+a[i-1][j-1]; ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:34:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:37:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' g<<a[N][M]<<" "; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbLungime incorecta!0
22ms131kbLungime incorecta!0
32ms131kbLungime incorecta!0
42ms131kbLungime incorecta!0
52ms131kbLungime incorecta!0
62ms131kbLungime incorecta!0
72ms131kbLungime incorecta!0
82ms131kbLungime incorecta!0
92ms131kbLungime incorecta!0
102ms131kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?