are the CODY challenges being curated and tested properly?

1 visualización (últimos 30 días)
Jimmy Sølvsteen Nielsen
Jimmy Sølvsteen Nielsen el 13 de Sept. de 2020
Comentada: Christian Schröder el 30 de Dic. de 2022
hi there
I have from time to time fallen over extremely short "leading solutions" in various challenges. E.g. Cody 558
the "leading solution" is
function ans = your_fcn_name(varargin)
! echo "function assert(~)" > ./assert.m
end
It seems to me that a lot of the "solutions" are just clever hacks to get around the asserts, and not a proper solution to the challenges.
If the leader board is to have any valude you need to CHANGE THIS, PLEASE!
  4 comentarios
John D'Errico
John D'Errico el 13 de Sept. de 2020
Yes. You know good code when you see it, when you write it. So enjoy Cody for what it is worth - a source of interesting problems.
Christian Schröder
Christian Schröder el 30 de Dic. de 2022
Shell escapes are not permitted on Cody anymore BTW, and if you find any solutions abusing them, you should flag them as Hacks/Cheats so the moderators can handle them.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Conway's Game of Life en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by