Query related to Cody

3 次查看(过去 30 天)
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?

采纳的回答

Cris LaPierre
Cris LaPierre 2021-1-3
编辑:Cris LaPierre 2021-1-3
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by