Pagini recente » Borderou de evaluare (job #865618) | Borderou de evaluare (job #556174) | Borderou de evaluare (job #975123) | Borderou de evaluare (job #1135400) | Borderou de evaluare (job #2594072)
Borderou de evaluare (job #2594072)
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 | 3ms | 262kb | Incorect | 0 |
2 | 4ms | 262kb | OK | 10 |
3 | 4ms | 393kb | Incorect | 0 |
4 | 101ms | 5111kb | Time limit exceeded | 0 |
5 | 10ms | 1966kb | OK | 10 |
6 | 23ms | 3801kb | Incorect | 0 |
7 | 29ms | 4587kb | OK | 10 |
8 | 41ms | 6946kb | Incorect | 0 |
9 | 53ms | 8257kb | Incorect | 0 |
10 | 53ms | 9175kb | Incorect | 0 |
Punctaj total | 30 |