Problem 46778. PIN code II
A cell phones requires a PIN code to open which only includes numbers; how long (in terms of minutes) does it take to enter all possible inputs with X input digits. (entering each digit takes 1 sec)
Solution Stats
Problem Comments
-
3 Comments
Rafael S.T. Vieira
on 16 Oct 2020
Please, do not use isequal with floats, use (a-b) < tol.
Stefan Abendroth
on 20 Oct 2022
Inconsistent rounding in test suite.
goc3
on 15 Apr 2023
The test suite has been updated to test against a tolerance.
Solution Comments
Show commentsProblem Recent Solvers38
Suggested Problems
-
Find the largest value in the 3D matrix
1521 Solvers
-
Create an index-powered vector
768 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
549 Solvers
-
Matlab Basics II - Count rows in a matrix
376 Solvers
-
915 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!