Borderou de evaluare (job #2467738)
Utilizator | Data | 4 octombrie 2019 23:08:21 | |
---|---|---|---|
Problema | Generare de permutari | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void BK(int)':
main.cpp:22:8: error: invalid conversion from 'int*' to 'int' [-fpermissive]
for(i=v; i<=n; i++)
^
main.cpp: In function 'int valid(int)':
main.cpp:38:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(v[i]==v[k])
^~
main.cpp:40:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return 1;
^~~~~~
main.cpp: In function 'int solutie(int)':
main.cpp:45:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(k==n)
^~
main.cpp:47:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return 0;
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !