Pagini recente » Borderou de evaluare (job #3293686) | Borderou de evaluare (job #2658870) | Borderou de evaluare (job #2617582) | Borderou de evaluare (job #2622621) | Borderou de evaluare (job #2630885)
Borderou de evaluare (job #2630885)
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 | 6ms | 131kb | Incorect | 0 |
7 | 21ms | 131kb | Incorect | 0 |
8 | 102ms | 131kb | Incorect | 0 |
9 | 500ms | 262kb | Incorect | 0 |
10 | 1003ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 0 |