Pagini recente » Borderou de evaluare (job #737302) | Borderou de evaluare (job #701159) | Borderou de evaluare (job #97918) | Borderou de evaluare (job #1405720) | Borderou de evaluare (job #2594071)
Borderou de evaluare (job #2594071)
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 + 1; a[j] == a[i - (j - i)] && j <= n; j++); j--;
^~~
main.cpp:25:77: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (j = marg + 1; 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 + 1; a[j] == a[i - (j - i) + 1] && j <= n; j++); j--;
^~~
main.cpp:51:81: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (j = marg + 1; a[j] == a[i - (j - i) + 1] && j <= n; j++); j--;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | Incorect | 0 |
| 2 | 3ms | 262kb | Incorect | 0 |
| 3 | 4ms | 393kb | Incorect | 0 |
| 4 | 103ms | 5111kb | Time limit exceeded | 0 |
| 5 | 12ms | 1966kb | Incorect | 0 |
| 6 | 24ms | 3801kb | Incorect | 0 |
| 7 | 29ms | 4587kb | Incorect | 0 |
| 8 | 41ms | 6946kb | Incorect | 0 |
| 9 | 53ms | 8257kb | Incorect | 0 |
| 10 | 43ms | 9175kb | Incorect | 0 |
| Punctaj total | 0 |