Pagini recente » Borderou de evaluare (job #2856278) | Monitorul de evaluare | Cod sursa (job #218752) | Borderou de evaluare (job #1450272) | Borderou de evaluare (job #2449171)
Borderou de evaluare (job #2449171)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:27:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n;i++)
^~~
main.cpp:31:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else matrice[i][j]=1+max(matrice[i][j-1],matrice[i-1][j]);
^~~~
main.cpp:32:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if(sir1[i]==sir2[j])
^~
main.cpp:38:12: warning: iteration 255 invokes undefined behavior [-Waggressive-loop-optimizations]
if(exista[i] && nr<matrice[n][m])
~~~~~~~~^
main.cpp:37:10: note: within this loop
for(i=1;i<=256;i++)
~^~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Subsir incorect! | 0 |
| 2 | 2ms | 131kb | Subsir incorect! | 0 |
| 3 | 2ms | 262kb | Lungime incorecta! | 0 |
| 4 | 4ms | 917kb | Lungime incorecta! | 0 |
| 5 | 4ms | 1179kb | Lungime incorecta! | 0 |
| 6 | 8ms | 2228kb | Lungime incorecta! | 0 |
| 7 | 15ms | 4194kb | Lungime incorecta! | 0 |
| 8 | 15ms | 3932kb | Lungime incorecta! | 0 |
| 9 | 16ms | 4325kb | Lungime incorecta! | 0 |
| 10 | 13ms | 3538kb | Lungime incorecta! | 0 |
| Punctaj total | 0 |