BobWednesday
V2EX  ›  问与答

传说中的“生成字符超时问题”

  •  
  •   BobWednesday · Dec 25, 2014 · 1990 views
    This topic created in 4183 days ago, the information mentioned may be changed or developed.
    假定字符串只由“0”,“1”,“*”组成,其中字符“*”表示该字符可由字符“0”或“1”替代。输入一些字符串,根据这些字符串生成所有可生成的字符串。
    例如:{10,0*}可生成 {10,01,00}
    {101,001,*01}可生成 {101,001}
    要具体实现,最好C++描述,有奖励哦
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5580 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 07:45 · PVG 15:45 · LAX 00:45 · JFK 03:45
    ♥ Do have faith in what you're doing.