Borderou de evaluare (job #2594076)

Utilizator ptudortudor P ptudor Data 5 aprilie 2020 13:27:52
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
23ms524kbIncorect0
34ms655kbIncorect0
4101ms9306kbTime limit exceeded0
513ms3538kbIncorect0
628ms6946kbIncorect0
734ms8650kbIncorect0
849ms12845kbIncorect0
963ms15466kbIncorect0
1065ms17170kbIncorect0
Punctaj total0

Ceva nu functioneaza?