Cody

Rafael Siqueira Telles Vieira

128
Rank
30
Badges
5695
Score
1 – 50 of 726

Rafael Siqueira Telles Vieira submitted a Comment to Problem 44313. "Cody" * 5 == "CodyCodyCodyCodyCody"

Cody is not allowing overloading the built-in function mtimes.

19 hours and 23 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1976. Kaggle: Reverse Game of Life - Create Isle prior State

The Kaggle challenge was to find those previous states with machine learning, but the Conway game of life is not reversible. I recommend playing with it a little https://playgameoflife.com/

21 hours and 43 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1976. Kaggle: Reverse Game of Life - Create Isle prior State

Finally, a problem where random smart guesses leads to a good solution. Trying all possibilities is not feasible, and there are many states that can have the same output.

21 hours and 52 minutes ago

Rafael Siqueira Telles Vieira received Logic Master badge

21 hours and 57 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1975. Kaggle: Reverse Game of Life - Zoo of Stills and Oscillators

I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton) It's similar to the previous one, but there are multiple automatons and the problem asks for the previous step to the current state.

23 hours and 5 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1970. Kaggle: Reverse Game of Life - Periods of Oscillators

I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton) In this problem, all he wants is how many steps are necessary for the automaton to repeat itself.

23 hours and 32 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1966. Kaggle: Reverse Game of Life - Single Move to One Cell Case

Testing for alive cells at the borders makes no difference to the solution apparently.

23 hours and 34 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1187. Knave in the middle attack

So I was able to fix the strings (str) manually using replace. Previous solutions won't work, so I guess the test cases were changed and broken. Please ignore my solution if this is fixed later on (it's only right for now, fixing it and evaluating it manually is a pain). I will resubmit a proper solution when it is fixed and I see it fixed.

on 3 Jul 2020 at 22:20

Rafael Siqueira Telles Vieira submitted a Comment to Problem 1187. Knave in the middle attack

Yes, it seems that test suit is wrong. cases 13 e 14 won't work. For instance from case 13: A=false; X=@(x)rem(x,2); str='F(''F(''''X(3)'''')'')'; f0=inline('logical(interp1([0,1],[0,x],1))','x','A','X'); F=@(str)xor(~A,f0(eval(str),A,X)); if I execute F(str) inside my function AnswerGenerator it complains... Error using eval Unrecognized function or variable 'F'. It seems the syntax is wrong. So we cannot know what the answer would be from the knight or the knave (I'm trying to fix the string input).

on 3 Jul 2020 at 20:58

Rafael Siqueira Telles Vieira submitted a Comment to Problem 2494. What is the nth step in Conway's Life?

The link for the problem 52 is wrong. https://www.mathworks.com/matlabcentral/cody/problems/52

on 3 Jul 2020 at 17:26

Rafael Siqueira Telles Vieira submitted a Comment to Solution 651989

Shame on you, LY Cao, for that hack. :)

on 3 Jul 2020 at 13:55

1 – 50 of 726