android锁密码组合 [英] android lock password combinations

查看:94
本文介绍了android锁密码组合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚遇到一个来自同事的有趣问题.我正在尝试,但是与此同时,我认为我可以在这里分享.

I just came across with this interesting question from my colleague. I'm trying now, but meanwhile I thought I could share it here.

使用Android主屏幕中显示的密码网格,可以输入多少个有效密码? 最小密码长度:4个最大密码:9个(如果我输入错了,请纠正我)

With the password grid shown in the Android home screen, how many valid passwords are possible? min password length: 4 max: 9 (correct me if I'm wrong)

推荐答案

摘要

4到9个独特数字的完整组合,减去包含无效跳转"的组合.

Summary

The full combinations of 4 to 9 distinctive numbers, minus the combinations which include invalid "jump"s.

Android 3x3密码网格的规则:

The rule for Android 3x3 password grid:

  • 一分一次

  • one point for once

无法跳过"某个点

原始帖子的作者使用Mathematica生成了所有985824组合.

The author of the original post used Mathematica to generate all 985824 combinations.

因为没有跳跃",所以几对连续点是无效的.

Because there is no "jump", several pairs of consecutive points are invalid.

删除所有无效组合以获得结果.

Delete all invalid combinations to reach the result.

4点到9点路径的组合分别为1624、7152、26016、72912、140704、140704.

The combinations for 4-to-9-point paths are respectively 1624, 7152, 26016, 72912, 140704, 140704.

参考来自 guokr ,该网站与

The reference is from guokr, a site alike Stack Exchange Skeptics in the form of blogs.

这篇关于android锁密码组合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆