Cody

goc3

5
Rank
127
Badges
33320
Score
1 – 50 of 3,279

goc3 submitted a Comment to Problem 2024. Triangle sequence

@Jaya Lee: Cody does not support toolbox functions.

18 minutes ago

goc3 submitted a Comment to Solution 2752336

No. See Ned's comment and read the problem description again.

23 minutes ago

goc3 submitted a Comment to Problem 840. SET (the card game)

Thank you, @Highphi. The link to instructions has been updated.

26 minutes ago

goc3 submitted a Comment to Problem 42394. It's going down. We're finding simbers!

The first test case has been updated to not have global scope.

34 minutes ago

goc3 submitted a Comment to Problem 753. Solitaire Cipher

I'm not sure why some users are experiencing problems here, but Doug did provide a reference solution for this problem, and it still passes the test suite as it stands.

35 minutes ago

goc3 submitted a Comment to Problem 42855. Height of a right-angled triangle

The first test case has had a tolerance applied.

50 minutes ago

goc3 submitted a Comment to Problem 2494. What is the nth step in Conway's Life?

The link has been fixed.

1 hour and 4 minutes ago

goc3 submitted a Comment to Problem 42825. solid of revolution

The test suite has been updated with a tolerance rather than requiring exact values.

1 hour and 7 minutes ago

goc3 submitted a Comment to Problem 43601. Find the sines of an isosceles triangle when given its area and height

I apologize for not seeing this sooner. The problem has been fixed, again. Let me know if something is still wrong.

1 hour and 14 minutes ago

goc3 submitted a Comment to Problem 45461. Box

The test suite has been updated to not reveal the solution.

3 hours and 1 minute ago

goc3 submitted a Comment to Problem 586. All Humans are Created Equal - Pareto Equality

The author included a reference solution, and it still passes the test suite.

3 hours and 25 minutes ago

goc3 submitted a Comment to Problem 1187. Knave in the middle attack

Problematic test cases have been commented out. Hopefully, @Alfonso will get around to fixing this.

3 hours and 35 minutes ago

goc3 submitted a Comment to Problem 1702. Maximum value in a matrix

The solution has been removed from the default function.

3 hours and 45 minutes ago

goc3 submitted a Comment to Problem 106. Weighted average

@Mehmed Saad: some of the many cheating solutions have been deleted.

5 hours and 55 minutes ago

goc3 submitted a Comment to Problem 2900. solve for y that is half as much as three less than one tenth of x

The function name has been changed.

6 hours and 13 minutes ago

goc3 submitted a Comment to Problem 44231. Is it a mail?

Cases 4 and 14 now have a correct_answer of false, per the explanation by Rafael S.T. Vieira.

6 hours and 16 minutes ago

goc3 submitted a Comment to Problem 2317. Distance of the centroids of the balls

The default function has been updated to not reveal the solution.

6 hours and 35 minutes ago

goc3 submitted a Comment to Problem 1280. Elastic Collision 001: 1-D

Each test case now includes abs().

7 hours and 27 minutes ago

goc3 submitted a Comment to Problem 1483. Number of paths on a grid

The first test case has been changed from 0 to 1 without rescoring past solutions.

7 hours and 37 minutes ago

goc3 submitted a Comment to Problem 44909. Reepeating numbers in array

The test suite has been fixed.

8 hours and 21 minutes ago

goc3 submitted a Comment to Problem 45173. Create the flag of Ramumbia

The test suite has been corrected.

8 hours and 26 minutes ago

goc3 submitted a Comment to Problem 3081. Scrabble Scores - 4

@Nikolaos Nikolaou: can you be more specific? I just re-tested two previous solutions and they worked fine. Each of the test cases contains single-line variables.

on 11 Apr 2020

goc3 submitted a Comment to Problem 10. Determine whether a vector is monotonically increasing

Also, the test case with x = [0 0 0 0 0] has been removed since it was originally marked as false. Technically, a monotonic function "is either entirely nonincreasing or nondecreasing" per Wolfram.com. Per this definition, that answer should have been true, as it would also be true for monotonically decreasing.

on 10 Apr 2020

goc3 submitted a Comment to Problem 10. Determine whether a vector is monotonically increasing

The [former] second test case of x = [0] has been removed due to its tendency to cause confusion.

on 10 Apr 2020

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

@ Nikolaos: are you sure it's the test suite and not a server error? If you get the following message, it is due to a temporary server problem, not a specific problem: "While evaluating the solution, the server encountered an error caused by temporary unavailability of MATLAB Service. Wait a few minutes for the MATLAB Service to return, and then rescore." If you are getting this error, simply try the problem again later or on a different day.

on 28 Mar 2020

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

1 – 50 of 3,279