Again, as in "Is my wife right?" ( http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right ), answer 'yes' regardless of the input.
(This is a slightly more challenging version.)
It would be interesting if the wife ask: "do you think i am wrong?" LOL
use varargin as the input
This is a brilliant question!
good one :)
great twist to a simple problem!
Read the test cases to notice the trick!
delete this garbage
Very simple problem, yet powerful
This is awesome
I don't quite understand what extra piece this is asking for. Could someone explain a bit more explicitly? I have test 1 correct, but test 2 failed.
It's difficult to give much of a hint without giving away the answer. The key is that your function needs to be able to accept ANY input.
thats a tricky one. it really helps to improve coding practice.
Very very tricky problem
I suggest to make more description for your problem
I think that "Honey,do you think I'm wrong?" really is the one your wife need to ask,luckily,she seems bossy,not tricky.LOL
In test suit in two cases you showed but answer 'yes' not working
You need to make sure that the function can handle multiple inputs. It really goes to show you that you can't just accept what is given to you as is!
Summing Digits within Text
Sum of diagonal of a square matrix
Find the largest value in the 3D matrix
06 - Matrix Equations 3
Find a Pythagorean triple
Figurate number triangle
All your base are belong to us
Right and wrong
Factorize THIS, buddy
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office