Cody

goc3

7
Rank
33
Badges
28140
Score

Activities

1 – 50 of 3,177

goc3 submitted Problem 44757. Lights Out 6 - 5x5, 13 moves

on 15 Nov 2018 at 13:38

goc3 submitted a Comment to Problem 44756. Lights Out 5 - 5x5, 10 moves

@li haitao: I got 3.838179s (total time for test suite) for William's solution and 0.986936s (1/4 the time) for your sped-up version. Impressive.

on 15 Nov 2018 at 13:13

goc3 liked Problem 44754. How many days?!?

on 15 Nov 2018 at 12:59

goc3 submitted a Comment to Problem 44756. Lights Out 5 - 5x5, 10 moves

@li haitao: the test suite has been updated. Also, problem #7 in the series (not out yet, but will be soon) is similar to what you suggest. Thanks for the comments.

on 13 Nov 2018 at 16:24

goc3 submitted a Comment to Problem 44756. Lights Out 5 - 5x5, 10 moves

@William: thanks for catching that. Actually, test case 4 was intentional, as it can also be solved in 10 moves. But, to prevent future confusion, I have replaced it. And, test case 11 was indeed an error—it has been fixed.

on 13 Nov 2018 at 16:21

goc3 submitted Problem 44756. Lights Out 5 - 5x5, 10 moves

on 12 Nov 2018 at 15:05

goc3 liked Problem 44779. Don't be mean. Be nice!

on 12 Nov 2018 at 12:59

goc3 submitted Solution 1672325 to Problem 44779. Don't be mean. Be nice!

on 12 Nov 2018 at 12:58

goc3 submitted a Comment to Problem 3103. Find out Harmonic mean.

I believe that harmmean() is a toolbox function. For now, Cody doesn't support toolboxes.

on 9 Nov 2018 at 14:56

goc3 submitted a Comment to Problem 11. Back and Forth Rows

The problem with the first test case has been fixed here.

on 9 Nov 2018 at 14:50

goc3 submitted a Comment to Problem 1694. Now 20% off!

The problem with the first test case has been fixed.

on 9 Nov 2018 at 14:46

goc3 submitted Problem 44755. Lights Out 4 - 5x5, 8 moves

on 9 Nov 2018 at 14:19

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

@li haitao: While your solution does solve many test cases in under 0.8 seconds, the times above were referring to the total time for the whole test suite. When your times are added up for all the test cases, the total time is over 4 seconds. While less than the total time for other solutions, it is still increasing over other problems with fewer moves. Also, as I already mentioned, future problems will tend to have even more test cases, making it harder to solve some within the time limit. And, the final problems will most definitely not be solvable by brute-force methods.

on 8 Nov 2018 at 12:34

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

@li haitao: I understand that you might not want to see so many problems in the series, but they are purposefully building up to larger, more difficult problems in a pedantic fashion so as to be accessible to a broad range of users. It is rather curious that you make such comments about being able to solve these problems using brute-force methods without having solved any of them, as far as I can see. I have timed each of the submitted problems for the three problems so far using Cody servers, and they yield the following approximate times: #1 (3 moves): 1/4 to 1/2 second #2 (4 moves): 1/2 to 2 seconds #3 (6 moves): 25 to 30 seconds (this includes a modified solution from a prior problem) As far as I am aware, the Cody servers time out at 30 seconds, so further problems will not be solvable by brute-force methods. I tested that on a planned problem with more moves using two modified solutions from prior problems, and they do appear to time out. While it is technically possible to solve many of these (current and planned) problems by brute-force methods, it is not practically feasible (or possible on Cody due to server time limits). The number of test cases in future problems generally increases or stays at a high number to help prevent brute-force methods from working. I added various references to the first problem in the series as potential starting points for developing actual solvers. I would encourage you to check them out and try these first problems without using brute-force methods that will only go so far.

on 7 Nov 2018 at 13:34

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

on 5 Nov 2018 at 13:04

goc3 submitted a Comment to Problem 44775. Solve The Equation

The problem description and test suite have been cleaned up.

on 5 Nov 2018 at 13:02

goc3 submitted Solution 1666301 to Problem 44775. Solve The Equation

on 5 Nov 2018 at 13:00

goc3 submitted Solution 1664209 to Problem 44768. Muphry's Law of MATLAB

on 1 Nov 2018 at 13:48

goc3 submitted Solution 1663202 to Problem 44763. Pumpkin Pie!

on 31 Oct 2018 at 14:09

goc3 submitted Problem 44763. Pumpkin Pie!

on 31 Oct 2018 at 14:07

goc3 submitted Solution 1663105 to Problem 44754. How many days?!?

on 31 Oct 2018 at 12:45

goc3 submitted Problem 44752. Lights Out 2 - 5x5, 4 moves

on 31 Oct 2018 at 12:25

goc3 submitted Problem 44751. Lights Out 1 - 5x5, 3 moves

on 29 Oct 2018 at 14:07

goc3 submitted Solution 1659448 to Problem 44748. Amicable numbers

on 25 Oct 2018 at 17:46

goc3 submitted Solution 1659310 to Problem 44743. Pizza order

on 25 Oct 2018 at 15:51

goc3 submitted Solution 1658064 to Problem 44297. Automatic String Editing

on 24 Oct 2018 at 18:28

goc3 submitted Solution 1658052 to Problem 43615. pizza deals

on 24 Oct 2018 at 18:19

goc3 submitted Solution 1658002 to Problem 43158. Solve system of equation!

on 24 Oct 2018 at 17:21

goc3 submitted Solution 1657997 to Problem 169. Set a Soroban Abacus

on 24 Oct 2018 at 17:16

goc3 submitted Solution 1657942 to Problem 34414. square of a number

on 24 Oct 2018 at 16:07

goc3 received Matrix Patterns II Master badge

on 19 Sep 2018

goc3 received Matrix Patterns III Master badge

on 19 Sep 2018

1 – 50 of 3,177