Pagini recente » Borderou de evaluare (job #2614663) | Borderou de evaluare (job #1565969) | Borderou de evaluare (job #2601106) | Borderou de evaluare (job #1988995) | Borderou de evaluare (job #2630884)
Borderou de evaluare (job #2630884)
Raport evaluator
Compilare:
main.cpp: In function 'int valid(int)':
main.cpp:17:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if((s[i]==s[k]) || (fabs(s[k]-s[i])== k-i))return 0;return 1; }
^~
main.cpp:17:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if((s[i]==s[k]) || (fabs(s[k]-s[i])== k-i))return 0;return 1; }
^~~~~~
main.cpp:16:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{for (int i=1; i<k; i++)
^~~
main.cpp:17:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if((s[i]==s[k]) || (fabs(s[k]-s[i])== k-i))return 0;return 1; }
^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 3ms | 131kb | Incorect | 0 |
| 6 | 7ms | 131kb | Incorect | 0 |
| 7 | 21ms | 131kb | Incorect | 0 |
| 8 | 95ms | 262kb | Incorect | 0 |
| 9 | 497ms | 131kb | Incorect | 0 |
| 10 | 1003ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 0 |