Pagini recente » Borderou de evaluare (job #2690948) | Borderou de evaluare (job #90612) | Borderou de evaluare (job #1834485) | Borderou de evaluare (job #100414) | Borderou de evaluare (job #2594073)
Borderou de evaluare (job #2594073)
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 | 3ms | 524kb | OK | 10 |
| 3 | 4ms | 655kb | Incorect | 0 |
| 4 | 101ms | 9175kb | Time limit exceeded | 0 |
| 5 | 13ms | 3538kb | OK | 10 |
| 6 | 29ms | 6946kb | Incorect | 0 |
| 7 | 36ms | 8650kb | OK | 10 |
| 8 | 52ms | 12845kb | Incorect | 0 |
| 9 | 66ms | 15466kb | Incorect | 0 |
| 10 | 67ms | 17170kb | Incorect | 0 |
| Punctaj total | 30 |