精华内容
下载资源
问答
  • tips:所有手机号均为随机创建的,为了做查询的效果展示,不涉及他人隐私。 mysql手机号码规律查询tips:所有手机号均为随机创建的,为了做查询的效果展示...数据库中的表只使用了个字段:phone_number 全号规律 AAA

    tips:所有手机号均为随机创建的,为了做查询的效果展示,不涉及他人隐私。

    数据库

    数据库中的表只使用了一个字段:phone_number
    在这里插入图片描述

    全号规律

    AAA

    select phone_number from `phone_number` where 
    (
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    )
    OR
    (
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    )
    OR
    (
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    )
    OR
    (
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    )
    OR
    (
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    )
    OR
    (
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    )
    OR
    (
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    )
    OR
    (
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    ABAB

    select phone_number from `phone_number` where 
    (
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,2,1)
    and
    SUBSTR(phone_number,1,1) = SUBSTR(phone_number,3,1)
    AND
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    )
    or
    (
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    AND
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    )
    or
    (
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    AND
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    )
    or
    (
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    AND
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    )
    or
    (
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    )
    or
    (
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    AND
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    )
    or
    (
    SUBSTR(phone_number,7,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    AND
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    )
    or
    (
    SUBSTR(phone_number,8,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    AND
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    AABBCC

    select phone_number from `phone_number` where 
    (
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,1,1) = SUBSTR(phone_number,2,1)
    AND
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    AND
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    )
    or
    (
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    AND
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    AND
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    )
    or
    (
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    AND
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    AND
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    )
    or
    (
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    AND
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    )
    or
    (
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,7,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    AND
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    AND
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    )
    or
    (
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,8,1) != SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    AND
    SUBSTR(phone_number,10,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    ABCD(顺子,1234或4321)

    select phone_number from `phone_number` where 
    (
    	(
    	SUBSTR(phone_number,1,1) = (SUBSTR(phone_number,2,1)+1)
    	and
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)+1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,1,1) = (SUBSTR(phone_number,2,1)-1)
    	and
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)-1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)+1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)+1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)+1)
    	)
    	or
    	(
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)-1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)-1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)+1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)+1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)-1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)-1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)+1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)+1)
    	AND
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)-1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)-1)
    	AND
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)+1)
    	and
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)+1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)-1)
    	and
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)-1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)+1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)+1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)-1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)-1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)+1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)+1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)-1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)-1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)+1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)+1)
    	AND
    	SUBSTR(phone_number,10,1) = (SUBSTR(phone_number,11,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)-1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)-1)
    	AND
    	SUBSTR(phone_number,10,1) = (SUBSTR(phone_number,11,1)-1)
    	)
    )
    

    在这里插入图片描述

    AAABBB

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    )
    OR
    (
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    )
    OR
    (
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    )
    OR
    (
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    )
    OR
    (
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    6多8多9多(举例:11位的号码中存在超过6个)

    tips:这里采用了一种比较巧妙的方式. 将存在6的号码替换为空,将11位减去替换后的长度就是6出现的个数.以此类推,将6的个数+8的个数+9的个数

    select phone_number from `phone_number` where
    (
    	(LENGTH(phone_number) - LENGTH(REPLACE(phone_number,"6",""))) +
    	(LENGTH(phone_number) - LENGTH(REPLACE(phone_number,"8",""))) +
    	(LENGTH(phone_number) - LENGTH(REPLACE(phone_number,"9",""))) 
    )>6
    

    在这里插入图片描述

    ABBCCDDA(更新时间:2021/04/21)

    select * from `phone_number` where  
    (																											
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,2,1)
    and
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,1,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    )
    or
    (
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    )
    or
    (
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    )
    or
    (
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,11,1)
    and
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,7,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    )
    

    ABBCCDDA

    中间规律

    AAA

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    )
    OR
    (
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    )
    OR
    (
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    )
    OR
    (
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    )
    OR
    (
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    )
    OR
    (
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    )
    OR
    (
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    )
    

    在这里插入图片描述

    ABAB

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,2,1)
    and
    SUBSTR(phone_number,1,1) = SUBSTR(phone_number,3,1)
    AND
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    )
    or
    (
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    AND
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    )
    or
    (
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    AND
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    )
    or
    (
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    AND
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    )
    or
    (
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    )
    or
    (
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    AND
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    )
    or
    (
    SUBSTR(phone_number,7,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    AND
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    )
    

    在这里插入图片描述

    AABBCC

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,1,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,1,1) = SUBSTR(phone_number,2,1)
    AND
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    AND
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    )
    or
    (
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,2,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    AND
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    AND
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    )
    or
    (
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,3,1) != SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    AND
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    AND
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    )
    or
    (
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,4,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    AND
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    )
    or
    (
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,5,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,7,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    AND
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    AND
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    )
    

    在这里插入图片描述

    ABCD(顺子,1234或4321)

    select phone_number from `phone_number` where
    (
    	(
    	SUBSTR(phone_number,1,1) = (SUBSTR(phone_number,2,1)+1)
    	and
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)+1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,1,1) = (SUBSTR(phone_number,2,1)-1)
    	and
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)-1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)+1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)+1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)+1)
    	)
    	or
    	(
    	SUBSTR(phone_number,2,1) = (SUBSTR(phone_number,3,1)-1)
    	and
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)-1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)+1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)+1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,3,1) = (SUBSTR(phone_number,4,1)-1)
    	and
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)-1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)+1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)+1)
    	AND
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,4,1) = (SUBSTR(phone_number,5,1)-1)
    	and
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)-1)
    	AND
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)+1)
    	and
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)+1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,5,1) = (SUBSTR(phone_number,6,1)-1)
    	and
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)-1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)+1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)+1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,6,1) = (SUBSTR(phone_number,7,1)-1)
    	and
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)-1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)-1)
    	)
    )
    OR
    (
    	(
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)+1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)+1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,7,1) = (SUBSTR(phone_number,8,1)-1)
    	and
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)-1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)-1)
    	)
    )
    

    在这里插入图片描述

    AAABBB

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,3,1)
    and
    SUBSTR(phone_number,2,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    )
    OR
    (
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,4,1)
    and
    SUBSTR(phone_number,3,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,8,1)
    )
    OR
    (
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,5,1)
    and
    SUBSTR(phone_number,4,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,9,1)
    )
    OR
    (
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,6,1)
    and
    SUBSTR(phone_number,5,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    )
    
    

    在这里插入图片描述

    尾号规律

    AAA

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    ABAB

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,8,1) != SUBSTR(phone_number,9,1)
    and
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,10,1)
    AND
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    AABBCC

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,6,1) != SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,8,1) != SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    AND
    SUBSTR(phone_number,8,1) = SUBSTR(phone_number,9,1)
    AND
    SUBSTR(phone_number,10,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    ABCD(顺子,1234或4321)

    select phone_number from `phone_number` where
    (
    	(
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)+1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)+1)
    	AND
    	SUBSTR(phone_number,10,1) = (SUBSTR(phone_number,11,1)+1)
    	)
    	OR
    	(
    	SUBSTR(phone_number,8,1) = (SUBSTR(phone_number,9,1)-1)
    	and
    	SUBSTR(phone_number,9,1) = (SUBSTR(phone_number,10,1)-1)
    	AND
    	SUBSTR(phone_number,10,1) = (SUBSTR(phone_number,11,1)-1)
    	)
    )
    

    在这里插入图片描述

    AAABBB

    select phone_number from `phone_number` where
    (
    SUBSTR(phone_number,6,1) = SUBSTR(phone_number,7,1)
    and
    SUBSTR(phone_number,7,1) = SUBSTR(phone_number,8,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,10,1)
    and
    SUBSTR(phone_number,9,1) = SUBSTR(phone_number,11,1)
    )
    

    在这里插入图片描述

    展开全文
  • 格雷编码规则_格雷有什么规律

    千次阅读 2020-12-20 18:53:22
    格雷典型的二进制格雷简称格雷,因1953年公开的弗兰克·格雷专利“PulseCodeCommunication...1941年GeorgeStibitz设计的种8元二进制机械计数器正好符合格雷计数器的计数规律。格雷(Graycode)曾用过GreyC...

    格雷码典型的二进制格雷码简称格雷码,

    1953

    年公开的弗兰克·

    格雷专利

    Pulse Code Communication

    而得名,

    当初是为了通信,

    现在则常用于模拟-数字转换和

    位置-数字转换中。

    法国电讯工程师波特在

    1880

    年曾用过的波特码相当于它的一种变形。

    1941

    George

    Stibitz

    设计的一种

    8

    元二进制机械计数器正好符合格雷码计数器的计数规

    律。

    格雷码(

    Gray code

    )曾用过

    Grey Code

    、葛莱码、葛兰码、格莱码、戈莱码、循环码、二

    进制反射码、最小差错码等名字,它们有的是错误的,有的易与其它名称混淆,建议不再

    使用它们。

    格雷码的编码规则格雷码母线位置检测单元包括地址发射单元、天线箱、地址检测单元、

    格雷码母线及安装辅件等部分。

    利用最简单的单匝线圈的感应原理,当天线箱线圈中通进交变电流时,

    在天线箱四周会产

    生交变磁场。格雷码母线近似处在一个交变的、均匀分布的磁场中,每对格雷码母线芯线

    会产生感应电动势。发射单元地址信号通过电磁耦合方式传送到格雷码母线的感应环线

    上。

    地址检测单元对接收到的信号进行相位比较。交叉线的信号相位与平行线的信号相位相

    同,地址为“

    0

    ;

    交叉线的信号相位与平行线的信号相位相反,地址为“

    1

    ,这样感应的

    地址信息是格雷码排列,永不重复,由此确定移动站在格雷码母线长度方向上的位置。

    格雷码有的规律在数字系统中只能识别

    0

    1

    ,各种数据要转换为二进制代码才能进行处

    理,格雷码是一种无权码,采用绝对编码方式,典型格雷码是一种具有反射特性和循环特

    性的单步自补码,

    它的循环、

    单步特性消除了随机取数时出现重大误差的可能,

    它的反射、

    自补特性使得求反非常方便。格雷码属于可靠性编码,是一种错误最小化的编码方式,因

    为,自然二进制码可以直接由数模转换器转换成模拟信号,但某些情况,例如从十进制的

    3

    转换成

    4

    时二进制码的每一位都要变,使数字电路产生很大的尖峰电流脉冲。而格雷码

    展开全文
  • C语言的凯撒加密Description 有行电文,请将电文中所有字母按A→F,B→G,……,U→Z,V→A,W→B,X#includeintmain(){charc;...c电文译成密码Problem Description有行电文,按下面的规律译成密码:A→Z a→zB→...

    C语言的凯撒加密Description 有一行电文,请将电文中所有字母按A→F,B→G,……,U→Z,V→A,W→B,X

    #includeintmain(){charc;while((c=getchar())!='\n'){if(c>='A'&&c='a'&&c

    电文译成密码Problem Description有一行电文,按下面的规律译成密码:A→Z a→zB→Y b→yC→X

    #includeintmain(){charstr[256][256];intn,i,j;scanf("%d",&n);getchar();for(i=0;i{gets(str[i]);for(j=0

    C语言输入一行字符 统计其中有多少个单词,单词之间用空格分隔开

    你弄的太乱,我整理了一下:#includemain(){charstring[81];inti,num=0,word=0;charc;gets(string);for(i=0;(c=string[i]

    C语言的程序设计 电文加密,每个字母转换为字母表中循环右移的第三个字母.

    //对一行电文进行加密,每个字母转换为字母表中循环右移的第三个字母//大写字母C加密后的ASCII码值为(c-62)%26+65//小写字母C加密后的ASCII码值为(c-94)%26+97#incl

    C语言编程:输入一行字符串,按给出的规则译成密码.

    #include#includemain(){chara[100];intn=2,i;printf("inputzifuchuan:\n");gets(a);printf("inputn:\n");s

    c语言编程 为了使电文保密,往往按一定规律将其转换成密码,收报人再按约定的规律将其译回原文.

    这个是你要的程序,比楼上的精简,vc6通过调试运行了.#includemain(){charstr[200]="";intnCounti;printf("inputthecontent:\n")

    有一行电文,已按下面规律译成密码A-z a-z B-Y b-y C-X c_x ; ; 即第1个字母变成品率6个字母,第

    这个规律,因为怎么变和是不变的.你换个思路想,举例说2-1=?你肯定写1+?=2在这里我们可以找到个规律,找到他们的和65+90=155……97+122=219……

    C语言 电文破译 题目和我编写的程序如下,请大神指出我错在哪里,并改正,答得好的追加.

    你没有处理第一个数据……人家第一个数据是总的测试个数……你读到哪里去了?#include#includevoidDecrypt(char

    c++ 将一行电文译成密码.规律如下.1 abcdefghijklmnopqrstuvwxyz

    for哪里i再答:while那里j++少打分号再答:str3在gcc下可能因为编译器内部优化使得str3[200]=0,主要问题还是j++那里少了分号。这个题目其实可以稍作优化,至少str1是有规律的

    有一行电文译文下面规律译成密码: A->Z a->z B->Y b->y C->X c->x … 即第一个字母变成第26

    #include#includeintmain(void){chararr[128],arr1[128];intlen,i;printf("pleaseinputthearray\n");gets(a

    有一行电文,已按规律译成密码.即将字母变成其后第二个字母(a变成c,b变成d,c变成e,…,x变成z,y变成a,z变

    #includevoidmain(){charstr[80];inti;printf("Inputaline:");scanf("%s",str);for(i=0;i!=80;i++){if(str[

    有一行电文,已按下面规律译成密码:A->Z a->z B->Y b->y C->X c->x … 即第一个字母变成第26

    #include"stdio.h"voidmain(){\x09charpw[81],src[81];\x09gets(pw);\x09puts(pw);\x09for(inti=0;pw[i];i+

    VFP 编一对电文加密,解密的程序,加密时按下面规律将明文译成密码:A→Z a→zB→Y b→yC→X c→x即第1个字

    需要写程序,犯愁,要是没有人回答再说吧.parazifuoldzifunew=''foraa=1tolen(zifuold)zifu=substr(zifuold,aa,1)zifuasc=asc(z

    某通信电文有A B C D E F 六个字符组成,在电文中出现的次数分别为16 ,5 ,9,3,20,1,画哈夫曼树

    哈夫曼树的构造规则为:  (1) 将16 ,5 ,9,3,20,1看成是有n 棵树的森林(每棵树仅有一个结点);   (2) 在1

    C语言(有图),是第一行,我自己用铅笔划的那个

    a,sizeof(a),&max,&min或者:a,10,&max,&min再问:是第一行,我自己用铅笔划的那个再答:find()函数声明嘛,貌似不加参数也可以的voidfind(int*,int,i

    c语言中解决一行电文中将第一个字母变成第26个字母,第i个字母变成第26-i+1个字母,非字母不变.

    #includevoidmain(){\x09charstr1[26],str2[26],sr,area;\x09inti,n;for(i=0;i

    英语翻译有一行电文,按下列规律译为密码A--Za--zB--Yb--yC--Xc--x即第i个字母变为(26-i+1)个

    #include#includeintmain(){charenCode[80];//密码chardeCode[80];//原文intlen,i;printf("输入密码:");gets(enCode

    展开全文
  • 题目要求:有行电文,按以下规律译成密码:即第1个字母变成第26个字母,第i个字母变成第(26-i+1)个字母,非字母字符不变。要求编程序将密码译回原文,并输出密码和原文 以下为具体代码: #include <stdio.h&...

    有一行电文,按以下规律译成密码(C语言)

    题目要求:有一行电文,按以下规律译成密码:即第1个字母变成第26个字母,第i个字母变成第(26-i+1)个字母,非字母字符不变。要求编程序将密码译回原文,并输出密码和原文

    以下为具体代码:

    #include <stdio.h>
    int main()
    {
        char str[20];
        gets(str);
        printf("Key: ");
        puts(str);
        int i;
        for(i=0;i<=20;i++)
        {
            if(str[i]>='A' && str[i]<='Z')
                str[i]=65+90-str[i];
            if(str[i]>='a' && str[i]<='z')
                str[i]=97+122-str[i];
        }
        printf("Text: ");
        puts(str);
        return 0;
    }
    
    展开全文
  • printf(“请输入行电文:\n”); gets(passage); printf(“您输入的电文原文为:\n”); puts(passage); for(int i=0;passage[i]!=’\0’;i++){ if(passage[i]>=65&&passage[i]<=9.
  • 格雷(Gray Code)是由贝尔实验室的弗兰克·格雷(Frank Gray,1887-1969)在20世纪40年代提出,并在1953年取得美国专利“Pulse Code Communication”。最初目的是在使用PCM(Pusle Code Modulation)方法传输数字...
  • 请编程序将“China"译成密码,密码规律是:...请编程序,用赋初值的方法使cl,c2,c3,c4,c5这5个变量的值分别为‘C‘,‘h‘,‘i‘,‘n‘,‘a‘ ,经过运算,使c1,c2,c3,c4,c5 分别变为‘G‘,‘l‘,‘m‘,‘r‘,‘e‘。分...
  • 字母按上述规律转换,非字母字符不变。输入行字符,输出相应密码。 //36.按一定规律将电文变成密码:将字母A变为E.将字母a变为e即变成其后的第四个字母,W将变成A //字母按上述规律转换,非字母字符不变.输入行字符...
  • #include “stdio.h” int main() { char c1=“C”,c2=“h”,c3=“i”,c4=“n”,c5=“a”; c1=c1+4; c2=c2+4; c3=c3+4; c4=c4+4; c5=c5+4;...printf(“password is %c%c%c%c%c\n”,c1,c2,c3,c4,c5);...}
  • 请编程序,用赋初值的方法使cl、c2、c3、c4、c5五个变量的值分别为,’C’、’h’、’i’、’n’、’a’,经过运算,使c1、c2、c3、c4、c5分别变为’G’、’l’、’m’、’r’、’e’,并输出。 法: #include...
  • 标签:译密码// 将“China”译成密码,密码规律:用原来字母后边第4个字母代替原来的字母。// 要求:先赋初值,然后分别用putchar和printf输出#include int main(){char c1 = 'C';char c2 = 'h';char c3 = 'i';char ...
  • 请编写个程序,用赋初值的方法使c1、c2、c3、c4、c5这5个变量的值分别为G、l、m、r、e,经过运算使得其变回“China”输出。 #include <iostream> using namespace std; int main() { char c1, c2, c3, c4,...
  • 我们要把字符串里面的小写字母变成大写字母,刚开始想着大小写字母的ASCII相差32(20h)那么我们只要把小写字母的ASCII码值减32(20h)不久好了,但是,这绕不开件事,就是判断个字母是大写还是小写
  • 例如,可以将以下规律将电文变成密码:将字母A变成字母E,a变成e,即变成其后的第4个字母,W变成A,X变成B,Y变成C,Z变成D。字母按上述规律转换,非字母字符保持原状不变,如“China!”变成“Glmre!”。从键盘输入...
  • 海明求解的具体步骤:1.确定校验的位数r2.确定校验的位置3.确定数据的位置4.求出校验的值假设要推到D=101101这串二进制数的海明,应按照以下步骤。1.确定校验的位数r。数据的位数k=6,按照公式来计算...
  • 将字母A变成字母E,a变成e,即变成其后的第4个字母,W变成A,X变成B,Y变成C,Z变成D,从键盘输入行字符,要求输出其对应的密码。 解题思路 判断字符是不是英文字符。 判断英文字符是不是w、x、y、z其中个。 判断...
  • 展开全部按照你的要求,编写的Java语言加密程序如下:publicclassBBE{publicstaticStringencrypt(Strings){Stringcryptograph="";for(inti=0;icharch=s.charAt(i);if(Character.isLetter(ch)==true){if(Character....
  • 满意答案AllanPoem2013.06.14采纳率:53%等级:11已帮助:14327人/*因为字母对应ASCII ,假设A-Z(不论大小写)对应数字1-26,根据上面的译码规则必有第n个字母译码后对应第27-n个字母。所以推论出如下公式:1.大写...
  • 、分析 1、将字符与ascii联系起来 (a,z)=(97,122) (A,Z)=(65,90) 括号表示连续区间 2、寻找数学关系 若c1属于[a, z],c2 = 'a' + 122 - c1; 122即z的ascii,z-c1表示当前字母与z的间隔,...
  • #include “stdio.h” void main() { char c; while((c=getchar())!=’\n’) { if((c>=‘a’&&c<=‘z’)||(c>=‘A’&&c<=‘Z’)) { c=c+4; if(c>‘Z’&&......
  • 在这里插入代码片 #include "stdio.h" main() { char c; while((c=getchar())!='\n') { if((c>='a'&&c<='z')||(c>='A'&&c<='Z')) { c=c+4; if(c>...='Z'+4||c&
  • 用计算器探索规律教学内容:P29例10及做做和练习五第7、8题。 教学目标:1、使学生能用计算器探索计算规律,能应用探索出的规律进行小数乘除法的计算。2、培养学生的观察、对比和分析能力。3、让学生感受发现规律...
  • 格雷基础和生成的几种方法

    千次阅读 2021-07-13 10:39:55
    在机器视觉里面,编码结构光也是按照一定的顺序进行变化,最常用的就是Binary,但是,二进制的纯粹的编码,由于二进制的进制关系(每个位是有权的),如果发生个错(在机器视觉里面,错的发生可能是个背景的...
  • #include<stdio.h> #include<ctype.h> void miwen(const char*str) { const char *lowalpha="zyxwvutsrqponmlkjihgfedcba"; const char *upper="ZYXWVUTSRQPONMLKJIHGFEDCBA";... i...
  • 1.2 /etc/shadow字段简介 文件中每行代表个用户,同样使用 “:” 作为分隔符,不同之处在于,每行用户信息被划分为 9 个字段。每个字段的含义如下: 用户名:加密密码:最后次修改时间:最小修改时间间隔:密码...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 79,771
精华内容 31,908
关键字:

一码规律