Pagini recente » Borderou de evaluare (job #1125566) | Borderou de evaluare (job #2143309) | Borderou de evaluare (job #378511) | Borderou de evaluare (job #1812771) | Borderou de evaluare (job #2594076)
Borderou de evaluare (job #2594076)
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 | 524kb | Incorect | 0 |
3 | 4ms | 655kb | Incorect | 0 |
4 | 101ms | 9306kb | Time limit exceeded | 0 |
5 | 13ms | 3538kb | Incorect | 0 |
6 | 28ms | 6946kb | Incorect | 0 |
7 | 34ms | 8650kb | Incorect | 0 |
8 | 49ms | 12845kb | Incorect | 0 |
9 | 63ms | 15466kb | Incorect | 0 |
10 | 65ms | 17170kb | Incorect | 0 |
Punctaj total | 0 |