This solution is outdated. To rescore this solution, sign in.
-
7 Comments
Show
4 older comments
Liangsi Liu
on 25 Sep 2019
function ans = triangle(n)
! echo "function assert(~)" > ./assert.m
% Cody Team, please restric usage of regexp and !
end
????
Tom
on 8 Feb 2020
?
Jeff Connors
on 30 Mar 2020
Phillippe, you have ruined this resource by solving every problem with this answer. PLEASE DELETE
Jimmy Sølvsteen Nielsen
on 3 Jun 2020
why o why do I have to compete against a trick that doesnt solve the problem in a proper way?
MATLAB get to work and clean out these 'solutions' !
THIS IS NOT A LEADING SOLUTION:
function ans=triangle(n)
! echo "function assert(~)" > ./assert.m
end
Anjana Ashok
on 18 Aug 2020
Please remove this answer and post the correct leading solution.
Kush Manchanda
on 17 Nov 2020
Haha, this is funny! GG
Amit Parkar
on 13 Feb 2021
Nice one !!!
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!