Cody

William

2
Rank
73
Badges
36795
Score
1 – 50 of 3,735

William submitted a Comment to Problem 45404. ZigZag - 04

Asif, I think some of the solution vectors in this problem are incorrect. In problem 2, for example, all the numbers after 120 are duplicates.

11 hours and 12 minutes ago

William submitted Solution 2184985 to Problem 45407. Yoonir - 02

11 hours and 51 minutes ago

William submitted Solution 2184976 to Problem 45406. Yoonir - 01

12 hours and 26 minutes ago

William submitted Solution 2184609 to Problem 45405. ZigZag - 05

15 hours and 4 minutes ago

William submitted Solution 2184631 to Problem 45410. Mid-term report

15 hours and 25 minutes ago

William submitted Solution 2184626 to Problem 45409. MinMax mapping

15 hours and 33 minutes ago

William submitted Solution 2184582 to Problem 45403. ZigZag - 03

16 hours and 8 minutes ago

William submitted Solution 2184555 to Problem 45399. ZigZag - 01

16 hours and 27 minutes ago

William received Community Group Solver badge for Date & Time I

on 27 Mar 2020 at 1:54

William submitted Solution 2177004 to Problem 45373. Hanging cable - 01

on 26 Mar 2020 at 21:02

William liked Problem 45379. 3rd side of a Triangle

on 26 Mar 2020 at 16:22

William submitted Solution 2176624 to Problem 45379. 3rd side of a Triangle

on 26 Mar 2020 at 16:20

William submitted Solution 2176566 to Problem 45388. Gapful numbers

on 26 Mar 2020 at 15:38

William submitted Solution 2176529 to Problem 45390. Find 0 in array

on 26 Mar 2020 at 15:18

William submitted Solution 2176525 to Problem 45385. Coin distribution

on 26 Mar 2020 at 15:11

William submitted Solution 2176482 to Problem 45387. Anagram

on 26 Mar 2020 at 14:51

William submitted a Comment to Problem 45373. Hanging cable - 01

Asif, Yes, what I was trying to say is that if the only clearance is that which is provided by the catenary curve y=a*cosh(x/a) itself, then you are not allowed to specify a cable length that is more than twice the height of the poles. That is because there will be some (typically small) values of pole separation at which the cable will hit the ground. It's not that there would not be a larger value of pole separation at which the cable had the specified length. A solution would undoubtedly exist. It's just that having the cable lying on the ground for small separation would introduce some ambiguity about the problem. The only way to avoid this, for long cables, would be to add an additional clearance that was large enough to keep the cable off the ground even when the pole separation went to zero. Anyway, I noticed that some of the current test problems violate this rule, and would require a third input parameter that specifies what the added clearance is.

on 25 Mar 2020 at 0:37

William submitted Solution 2173363 to Problem 45384. Sum! Sum! Sum!

on 24 Mar 2020 at 22:13

William submitted Solution 2173354 to Problem 45384. Sum! Sum! Sum!

on 24 Mar 2020 at 22:05

William submitted Solution 2173350 to Problem 45384. Sum! Sum! Sum!

on 24 Mar 2020 at 20:47

William submitted Solution 2173325 to Problem 45381. Maya long Count

on 24 Mar 2020 at 20:27

William submitted Solution 2173292 to Problem 45378. Lost days

on 24 Mar 2020 at 19:57

William submitted Solution 2173230 to Problem 45380. The End of the World

on 24 Mar 2020 at 19:19

William submitted Solution 2173072 to Problem 45383. $10,000 sequence

on 24 Mar 2020 at 17:01

William submitted a Comment to Problem 45379. 3rd side of a Triangle

Asif, The results in the test suite seem to be based on the idea that the minimum and maximum areas are found by setting the third side to a3 = abs(a1-a2)+1 and a3=a1+a2-1, which is not correct. The correct maximum is somewhere in the middle. For example, in problem 2, the correct results are mn = 24.9987 and mx = 1250.0000.

on 24 Mar 2020 at 16:05

William submitted Solution 2171700 to Problem 45377. Maya - 03

on 23 Mar 2020 at 22:36

William submitted Solution 2171675 to Problem 45376. Maya - 02

on 23 Mar 2020 at 22:15

William submitted Solution 2171644 to Problem 45375. Maya - 01

on 23 Mar 2020 at 21:22

William submitted a Comment to Problem 45373. Hanging cable - 01

Oh no! I thought I understood this problem, but I see that I don't. Do you have a ground clearance in addition to the natural clearance of the catenary y=a*cosh(x/a)? In that case, I guess we *do* need 3 input parameters. If that is not the case, then the cable length can't be more than twice the height h.

on 22 Mar 2020 at 23:56

William submitted a Comment to Problem 45373. Hanging cable - 01

If you accept a parabola as the solution, then the correct answer to problem 3 is d=length=200. David is pointing out that the answer given in the test suite is 0, not 200. From my point of view, though, the parabola is not a correct solution. The catenary curve looks superficially like a parabola, but it is significantly different. In fact, only 2 of the 3 input parameters are required to specify the catenary curve. In problem 3, for example, if you specify the pole heigth and the clearance as being the same, there is no solution; but if you specify the cable length and the clearance, there is a solution and it is less than the cable length.

on 22 Mar 2020 at 17:36

William submitted a Comment to Problem 45373. Hanging cable - 01

David, The solution here is a catenary curve, which is not a parabola ... but even with that in mind, I am getting different answers.

on 21 Mar 2020 at 20:58

William submitted Solution 2162283 to Problem 45370. Sky full of stars - 03

on 17 Mar 2020 at 1:34

William submitted Solution 2162276 to Problem 45369. Sky full of stars - 02

on 17 Mar 2020 at 1:28

William submitted Solution 2162271 to Problem 45368. Sky full of stars - 01

on 17 Mar 2020 at 1:16

William submitted Solution 2161991 to Problem 45366. Connect Four - 04

on 16 Mar 2020 at 20:05

William submitted Solution 2161931 to Problem 45365. Count the days

on 16 Mar 2020 at 19:11

William submitted Solution 2161919 to Problem 45365. Count the days

on 16 Mar 2020 at 19:00

William submitted Solution 2161915 to Problem 45365. Count the days

on 16 Mar 2020 at 18:54

William liked Problem 45363. Exponentiation

on 14 Mar 2020 at 16:32

William submitted Solution 2159988 to Problem 45363. Exponentiation

on 14 Mar 2020 at 16:30

1 – 50 of 3,735