Cody

goc3

5
Rank
88
Badges
31390
Score
1 – 50 of 3,271

goc3 submitted a Comment to Problem 42788. Rearrange string

The last test suite has been fixed.

on 23 Oct 2019

goc3 submitted a Comment to Solution 1865516

The fibonacci() function is in a toolbox. Only functions in vanilla Matlab are recognized by Cody.

on 23 Oct 2019

goc3 submitted a Comment to Solution 1944616

I've fixed that first line in the test suite. Try it again.

on 23 Oct 2019

goc3 submitted a Comment to Solution 1943859

Your function produces sOut in string format (in the last line of the function). The test suite defines the variables as character arrays instead of strings. These two data types cannot be directly compared—i.e., you'll have to return a character array. Also, when I run your function, it returns "hello" rather than "hlleo".

on 23 Oct 2019

goc3 submitted a Comment to Problem 44273. Given a square and a circle, please decide whether the square covers more area.

No, that test suite is fine, since he uses those random values to calculate y_correct. Also, for that other test with 3>7, he's using that to create a false logical value for y_correct.

on 16 Sep 2019

goc3 submitted a Comment to Problem 1696. Morse Code Generator! Try it!

The test suite should be working now. I fixed the parentheses problem mentioned in the other comments (it should now recognize left and right parentheses as different). There were also seven spaces between words in the test suite, though the encoded description indicated five—that has been fixed, as well.

on 16 Sep 2019

goc3 submitted a Comment to Problem 44940. Get Next Combination

Good problem!

on 15 Aug 2019

goc3 received Introduction to MATLAB Master badge

on 8 Aug 2019

goc3 submitted a Comment to Problem 44848. Approximate the inverse tangent by power series

Also, note that the input n (polynomial order) refers to the highest-powered term in the series, NOT the number of series terms.

on 16 Jul 2019

goc3 submitted a Comment to Problem 44848. Approximate the inverse tangent by power series

The test suite has been fixed and improved.

on 16 Jul 2019

goc3 submitted a Comment to Problem 44753. Lights Out 3 - 5x5, 6 moves

@Jean-Marie Sainthillier: Amazing. I'll have to make sure that some later problems in the series can't be brute forced, even by him, though he may still find a way. These test suites take long enough to create as it is.

on 17 May 2019

goc3 submitted a Comment to Problem 111. Find matching parenthesis

@Qianqian Fang: once you've solved a problem, click on the solution map (containing all the green circles and orange x's). On that separate page you can click on each of the shapes to view each solution below the chart.

on 17 May 2019

goc3 submitted a Comment to Problem 44761. Lights Out 9 - 5x5, light-only solution? II

It has been updated.

on 2 May 2019

goc3 submitted a Comment to Problem 44764. Lights Out 10 - 5x5, with wrapping, 6 moves

@William: the troublesome test case has been removed. Thanks for pointing that out.

on 30 Apr 2019

goc3 submitted Solution 1800213 to Problem 44855. Easy problem

on 29 Apr 2019

goc3 submitted Solution 1800205 to Problem 44851. X O X Oh!

on 29 Apr 2019

goc3 submitted Solution 1800204 to Problem 44850. X O X O

on 29 Apr 2019

1 – 50 of 3,271