Pagini recente » Borderou de evaluare (job #828082) | Borderou de evaluare (job #2012762) | Borderou de evaluare (job #2211969) | Borderou de evaluare (job #1122332) | Borderou de evaluare (job #2594060)
Borderou de evaluare (job #2594060)
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 |
| 1 | 3ms | 262kb | Incorect | 0 |
| 2 | 3ms | 262kb | Incorect | 0 |
| 3 | 4ms | 393kb | Incorect | 0 |
| 4 | 101ms | 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 | 53ms | 9175kb | Incorect | 0 |
| Punctaj total | 0 |