Problem 42339. ~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.
Solution Stats
Problem Comments
-
2 Comments
Carl Witthoft
on 6 Nov 2015
Several answers seem to think "*" isn't actually multiplication :-( . Follow the rules, folks!
Alfonso Nieto-Castanon
on 6 Nov 2015
see problem 242 for an example of how to disallow the use of specific characters (improving your testsuite is a better way to ask players to "follow the rules" of your problem in Cody)
Solution Comments
Show commentsProblem Recent Solvers75
Suggested Problems
-
912 Solvers
-
The Answer to Life, the Universe, and Everything
556 Solvers
-
430 Solvers
-
Flip the vector from right to left
10120 Solvers
-
Sum the squares of numbers from 1 to n
253 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!