Pagini recente » Borderou de evaluare (job #2794106) | Borderou de evaluare (job #774934) | Borderou de evaluare (job #187914) | Borderou de evaluare (job #1509041) | Borderou de evaluare (job #2331863)
Borderou de evaluare (job #2331863)
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 |
1 | 2ms | 131kb | Lungime incorecta! | 0 |
2 | 2ms | 131kb | Lungime incorecta! | 0 |
3 | 2ms | 131kb | Lungime incorecta! | 0 |
4 | 2ms | 131kb | Lungime incorecta! | 0 |
5 | 2ms | 131kb | Lungime incorecta! | 0 |
6 | 2ms | 131kb | Lungime incorecta! | 0 |
7 | 2ms | 131kb | Lungime incorecta! | 0 |
8 | 2ms | 131kb | Lungime incorecta! | 0 |
9 | 2ms | 131kb | Lungime incorecta! | 0 |
10 | 2ms | 131kb | Lungime incorecta! | 0 |
Punctaj total | 0 |