Borderou de evaluare (job #2594060)

Utilizator ptudortudor P ptudor Data 5 aprilie 2020 13:06:51
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] in >> a + 1; ~~^~~ main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (n = 1; a[n]; n++); n--; ^~~ main.cpp:12:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (n = 1; a[n]; n++); n--; ^ main.cpp:17:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = i + 1; a[j] == a[i - (j - i)] && j <= n; j++); j--; ^~~ main.cpp:17:70: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (j = i + 1; a[j] == a[i - (j - i)] && j <= n; j++); j--; ^ main.cpp:25:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = marg; a[j] == a[i - (j - i)] && j <= n; j++); j--; ^~~ main.cpp:25:73: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (j = marg; a[j] == a[i - (j - i)] && j <= n; j++); j--; ^ main.cpp:43:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = i + 2; a[j] == a[i - (j - i) + 1] && j <= n; j++); j--; ^~~ main.cpp:43:74: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (j = i + 2; a[j] == a[i - (j - i) + 1] && j <= n; j++); j--; ^ main.cpp:51:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = marg; a[j] == a[i - (j - i) + 1] && j <= n; j++); j--; ^~~ main.cpp:51:77: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (j = marg; a[j] == a[i - (j - i) + 1] && j <= n; j++); j--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms262kbIncorect0
23ms262kbIncorect0
34ms393kbIncorect0
4101ms5111kbTime limit exceeded0
512ms1966kbIncorect0
624ms3801kbIncorect0
729ms4587kbIncorect0
841ms6946kbIncorect0
953ms8257kbIncorect0
1053ms9175kbIncorect0
Punctaj total0

Ceva nu functioneaza?