Pagini recente » Borderou de evaluare (job #2711087) | Borderou de evaluare (job #1127641) | Borderou de evaluare (job #842932) | Borderou de evaluare (job #1914049) | Borderou de evaluare (job #2594077)
Borderou de evaluare (job #2594077)
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 | 2ms | 262kb | Incorect | 0 |
2 | 4ms | 524kb | OK | 10 |
3 | 4ms | 655kb | OK | 10 |
4 | 100ms | 9175kb | Time limit exceeded | 0 |
5 | 22ms | 3538kb | OK | 10 |
6 | 30ms | 6946kb | OK | 10 |
7 | 36ms | 8650kb | OK | 10 |
8 | 52ms | 12845kb | OK | 10 |
9 | 66ms | 15466kb | OK | 10 |
10 | 65ms | 17301kb | OK | 10 |
Punctaj total | 80 |