Pagini recente » Borderou de evaluare (job #3004046) | Borderou de evaluare (job #1372150) | Borderou de evaluare (job #2629717) | Borderou de evaluare (job #2319052) | Borderou de evaluare (job #2630883)
Borderou de evaluare (job #2630883)
Raport evaluator
Compilare:
main.cpp: In function 'int valid(int)':
main.cpp:16: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:16: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:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{for (int i=0; i<k; i++)
^~~
main.cpp:16: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 | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 4ms | 131kb | Incorect | 0 |
7 | 11ms | 131kb | Incorect | 0 |
8 | 43ms | 131kb | Incorect | 0 |
9 | 205ms | 131kb | Incorect | 0 |
10 | 1000ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 20 |