Effacer les filtres
Effacer les filtres

Query related to Cody

3 vues (au cours des 30 derniers jours)
Anuj Kumar
Anuj Kumar le 3 Jan 2021
i was solving a problem on cody,after many attempt i managed to get the solution but when i checked leading solution there was this code
function ans = existsInVector(a,b)
! echo "function assert(~) " >./assert.m
end
what is this? and what is the meaning of leading solution in cody?

Réponse acceptée

Cris LaPierre
Cris LaPierre le 3 Jan 2021
Modifié(e) : Cris LaPierre le 3 Jan 2021
There are some users who have not so much created a solution, but have instead hacked the grader to create the "best" solution. Ignore these.
You can see a detailed answer here.
You can learn a little more around the scoring used in this blog post.
  1 commentaire
Anuj Kumar
Anuj Kumar le 3 Jan 2021
thankyou for answer

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by