Pagini recente » Borderou de evaluare (job #960334) | Borderou de evaluare (job #1900495) | Borderou de evaluare (job #2298192) | Borderou de evaluare (job #1046024) | Borderou de evaluare (job #2594080)
Borderou de evaluare (job #2594080)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
in >> a + 1;
~~^~~
main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (n = 1; a[n]; n++); n--;
^~~
main.cpp:13: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:18: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:18: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:26: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:26: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:44: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:44: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:52: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:52: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 | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 101ms | 5111kb | Time limit exceeded | 0 |
5 | 11ms | 1966kb | OK | 10 |
6 | 24ms | 3801kb | OK | 10 |
7 | 29ms | 4587kb | OK | 10 |
8 | 42ms | 6946kb | OK | 10 |
9 | 54ms | 8257kb | OK | 10 |
10 | 58ms | 9175kb | OK | 10 |
Punctaj total | 80 |