鱼C论坛

 找回密码
 立即注册
楼主: zltzlt

[已解决]Python:每日一题 357

[复制链接]
发表于 2020-3-23 16:05:50 | 显示全部楼层
先别封题,晚上7点前 给出答案
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:07:40 | 显示全部楼层
TJBEST 发表于 2020-3-22 21:31
不知道这个二元序列的顺序是否任意?我的第一个实例测试,序对正确,但是顺序不太一样

输入以下数据超时:
['bbahiebh', 'gbiceijg', 'gagbbbidehagjafdeehg', 'ggbjdffdjdcddgij', 'cdijbieb', 'begh', 'g', 'iaibfbaab', 'hc', 'icgabfchd', 'aeh', 'ii', 'jjac', 'ajceaejf', 'a', 'cgbfihhijdjbb', 'ijjeccgdffhbfa', 'feaiiac', 'hah', 'ihgigc', 'ebigbajjbjaecajha', 'hefbhiidfbijjbc', 'haigiggafece', 'achjfcie', 'agiec', 'jfiidfcaaegia', 'hgiebfhdi', 'eaic', 'iiihgachedjbf', 'ejdgfcabfjcdcbcadgd', 'gcic', 'dfbgjedbhcjebdaba', 'ieheiefafhccc', 'cdhgigb', 'ehaeajfieiadabdb', 'gjdec', 'chcigeh', 'hbdgchgffdbbe', 'ddiehgbjhj', 'gfdjjbcdbgajcehai', 'ibebegj', 'gebfjhgf', 'acfbiffbafbagehg', 'cbbbghcbga', 'iic', 'ebiie', 'begijhedgjfefhacibi', 'fdbdajaagceeijg', 'ahcjagedejaggabjcj', 'aijeajgceehba', 'fggfii', 'd', 'bbcb', 'ee', 'hghgdcjccdgbdgajdhe', 'hjii', 'dbbbdabc', 'hgb', 'baecdfj', 'djaficahjfidhfii', 'jeidejdgaecb', 'bddjbcf', 'ciheacgjd', 'aj', 'ffcdfajgifdebgdac', 'ibceajdhghj', 'b', 'iggagfigiheehigdb', 'fhbiafhfhhcdjj', 'dicfggchgi', 'acebghbbiih', 'ccg', 'jdjefgdhchji', 'jihefhcciacdhhe', 'fajjgidgcg', 'difchiiij', 'ghjfjbibeihgech', 'ahcjadcgehacbejad', 'dbjahaiibegcahf', 'bdfifacdg', 'cghfhgfchiifihgafg', 'jig', 'aihgaidf', 'djbd', 'jdbbhahdd', 'gcgijjfficad', 'fjebfcecgheeeijfe', 'bijj', 'dehhfac', 'beciadeaia', 'hjbfdcdfahdhc', 'jaieej', 'chgjdbebagiihifgjjf', 'ibdeajabacjahaicgihi', 'cjadefc', 'hcjbigf', 'hhfcidbefbbhfdfcih', 'igchfjiajfhbcaj', 'gcae', 'fha', 'bfedgghgjddgbadaabeh', 'chcfdbbjc', 'jbhdih', 'cfjfhhdicbdfcccigai', 'cjgeecbaafi', 'eidh', 'ifgjhjedcjbhbdcddihe', 'did', 'efg', 'gijbc', 'egdjeejhbch', 'gejhbdgcaifhcca', 'gdeg', 'dcfhec', 'dacbiijaeefjahb', 'hg', 'ge', 'feejfa', 'hfebdgdbfihdcd', 'aiaijhicaf', 'daefhbecahg', 'jhf', 'dhbbbeadd', 'de', 'ihfad', 'ijbeeafbbhd', 'bhj', 'j', 'fgjcj', 'bdhhddfgfgg', 'dgabaeg', 'jfdg', 'ifacjgiejdbbiba', 'cdgbhidbgehfcgaed', 'ecceaf', 'gggaa', 'gj', 'dgahejjdaaeegaeb', 'aceejaaci', 'fhjjgghaebjiefbgfie', 'fb', 'adbdaecgaidjge', 'afihje', 'cbhjfg', 'cifgje', 'fcbbaceaeeai', 'ighfgfahba', 'dgdehfgfdgbgeedafgba', 'hiddgebiachcdg', 'cidaedhcgcdebfc', 'cbidgbb', 'bfdhdeeadchbdh', 'bafdiebbdjbighbahha', 'ihbgdcijegggghj', 'afeci', 'ghebgdgee', 'dhcg', 'ebeihjha', 'hdaif', 'cbaffagaajcjdia', 'gecegegfidcjhjeaa', 'idjccf', 'c', 'achbaeghjefjabiiddj', 'idhfbdejabibhj', 'bdefjcjchhe', 'biibifajjahibhai', 'fgifdfefefeadag', 'dcbhdbjhjcc', 'ecidfhjhhbjhcdheejf', 'hfhddhccdbaibijfag', 'jb', 'aecgbhbjhichabdbh', 'ddecj', 'fbbgffgjgfbf', 'ahcaefg', 'dic', 'ieda', 'gdcdjfeeiic', 'hijjebdcfhh', 'egefffcghh', 'ifccgdecghijebij', 'hachjgg', 'hi', 'jigffeehhdg', 'ajjg', 'eacdhhebfgc', 'dcibicffjc', 'ceedggffffghegjhg', 'cbghbeijg', 'ihdbhajihhgejabcjcgh', 'eah', 'jdicfjbjijcgjeigj', 'ffdaafidbhd', 'iaebfiegchbbeg', 'cjajeb', 'ec', 'hbbfgfbed', 'h', 'gbghiihejgcdbeca', 'gfcagccfcfbfhccihg', 'defcbajgebgd', 'iiejggededhbhff', 'hhagbcaddegehg', 'ebahciadiafhgdd', 'di', 'iicidh', 'dfehjebajbicgg', 'ejjbecadeahihf', 'fahgja', 'defjheded', 'ebf', 'ibdgejihadfjhbdj', 'bgjdhbej', 'jcjccahdfhbief', 'gcjhhaifghccghcj', 'hghehccjfbc', 'aifdfabjgifciidfegji', 'feehjg', 'aghhhjcfaibjff', 'baifc', 'efc', 'jfadgihdeig', 'acjhdgjijba', 'iijbdfhaiij', 'cajahidg', 'e', 'iehjeicachcfcjc', 'gajdjgahhbceej', 'jfcfge', 'dcjihhbbdhgee', 'hgcbb', 'adfjfdcedjdgfjc', 'ceahbaegeiifachgcjec', 'dgf', 'ibfbj', 'ijbbdbfdbdaibdaeggag', 'bbibchbjaahaghd', 'cchbhdafajbcijab', 'ib', 'bgeaffehfhbda', 'fcd', 'hbg', 'fagdbcjacc', 'aeafiahhdhhahicjeb', 'baiibgfaijc', 'ghdifcebbc', 'aefeaj', 'fjacciegce', 'ffgibchc', 'djbf', 'dfcjijehcgcifbjgife', 'ghhcehebbiahdii', 'ccgag', 'aajbgbefidifdbjba', 'bbageca', 'ficje', 'id', 'eed', 'aeiebeajidhfgdfhh', 'bdafeagefjj', 'hjfgaaegdbjdgiaj', 'fbib', 'gfihfcgegdhfiiaiiab', 'ifi', 'jcbihigbejfgicfegj', 'ecf', 'bghfaic', 'chbccbidfbie', 'gjbj', 'hheaehbbjd', 'dbcaibfdbjb', 'bbejefhg', 'bjchjgfggcehihihf', 'hfbibaccd', 'hcbjjbd', 'hefage', 'gbehcggcfddeieebei', 'cjead', 'hj', 'idej', 'chhigfcee', 'hedfge', 'jedeh', 'ghajfejehbabajcebiea', 'dbaceia', 'hfhg', 'afaeigfdgbacjcb', 'ibbbabbj', 'gagjgb', 'bgjadadb', 'hjihbbdbie', 'eeaffhcbfgaag', 'f', 'bhadhdcia', 'cfbddehdjabdba', 'icb', 'biifehdficggigge', 'bagjggcibf', 'cacijiec', 'baejhffaidjeh', 'acbccafaedg', 'jijgbbgjgafeii', 'fbcjfej', 'ehjfehgaadjgdfcc', 'bbgahjj', 'hjiadgdff', 'djgfhjhdj', 'dihcecfdjdfi', 'igfjhbdb', 'baddaeghhhdiehhfhgdb', 'cigijacaaaejagie', 'ja', 'aeigdgeghdcib', 'gegjdgc', 'aafhdjced', 'cbfgfeafhijfhb', 'dhfgggjje', 'dbeciba', 'iebd', 'eeagahfcigigbggbc', 'fbcihbibcjdfcaegc', 'bgjjadbgg', 'bj', 'bbdbehfacbdh', 'ifihjccddaf', 'fgie', 'bibbefjcfddjjch', 'eidaagifbifjgaejb', 'ddaihaifjcbffcbdgi', 'gicgigaigjiaddj', 'eadj', 'iidbhdiddbijijjajgjc', 'gbifebfceaadghbjg', 'jfffcijfeibagjhc', 'ag', 'cbdbiagfgae', 'gbijdehdjcdfgjb', 'icfbfhbhhcda', 'fijabggj', 'gehae', 'iafiijdg', 'eeifgfgeggcddagfdb', 'ca', 'iidggjehf', 'ajceihjbe', 'afedcea', 'cd', 'hib', 'cfighddjggggi', 'jahfehigbhaibhei', 'gdfegda', 'egcdajajd', 'je', 'ahcjgcejifceggcfgdh', 'ddbdhcdabcaead', 'iebbeahcebbgggecaf', 'fjfgajcibiif', 'ebdccfhfdia', 'bgdbgaecehjace', 'abjeej', 'dcdjaifaffedgjij', 'gdfadjghachhgbd', 'ehiccehfidbahb', 'gf', 'bcbgb', 'gdda', 'jedajeheecddebd', 'jc', 'giaegiejbjibhbicffgj', 'bacdifbbhjc', 'fjjdffdeiaddi', 'i', 'ajbfdgjchhhdcg', 'diaedfachejdddcfef', 'jbghcdicfacgb', 'acgbgedgajbaheecghab', 'fhbihcgacg', 'ecbcfej', 'bjfdeadfehgfedbeff', 'ifea', 'jcfjacd', 'ijgjihdjefaihfaac', 'hcbag', 'gbjfjgfjiejfaegbfbja', 'jej', 'ibjfgi', 'hdhddf', 'ecbhigbifediefibfc', 'bfddidjgdhfjfffge', 'igiehedijejbaafdge', 'fbijbhefebibfic', 'hdegdgibiabfbgdhjaif', 'jjfjecbggdifiagg', 'ecfbbecdedbigajdcci', 'ihecaifcjeci', 'ddhgccecdjf', 'jcibebigigdbhichb', 'cejhdbihceidcgcebd', 'bgjijecadd', 'edbhafiegbaa', 'dhbj', 'be', 'dfbbhbigeaddijefij', 'ciii', 'bhaicibhdgcji', 'gdiddgjdfbfbeifej', 'hffidjhaac', 'dbddaccjiehgge', 'fjdcdhbaajidfed', 'eie', 'ebggjhhjhcjbhgdcgga', 'abcacichghchiabd', 'ifdhajgadcgjj', 'jdjhfafhadhfgicifabe', 'dhiiacdibfcjcb', 'fadhcgddde', 'ajbad', 'bfcbda', 'jegg', 'hfd', 'dgggijbchedfbi', 'bdafcjiefdhajfaedibf', 'heeb', 'iicbdej', 'fdiafeigjbjhei', 'dgeihchi', 'gdbaaefdi', 'icf', 'bihaad', 'ifhihdhdh', 'hhejegfafbaficf', 'efad', 'idghhefidejgh', 'gddfbedhidjhdhbbiehh', 'idgggifjjjhgfdjgdgdc', 'cffjgecjjfdfegcd', 'ea', 'gdjahfhfajdg', 'bdhcdeibdegadbchajh', 'aheiigc', 'hgbebjba', 'efjcihadh', 'dbfdejd', 'bggabgfhfee', 'ggjgdgeaejcd', 'dehdbea', 'hfacdifdgccbjheehdbd', 'bgheiad', 'bcedfhceiadbjgdege', 'hffhbhcheef', 'difhigcdaiifbegd', 'hfeacfbffdgiiaheaba', 'dcfaa', 'iaddfdeddcg', 'jajjgg', 'cdhic', 'iahheh', 'hihegiegcejdfaidha', 'jhdfdfhicijfid', 'dffeajiigaicedahhhc', 'gggdbahghddchejahd', 'ddde', 'chbdebaghjg', 'haj', 'cebbdeaiagjd', 'bjicbcciafjjfd', 'cgjajdhjhedicj', 'gchhidhecbbaea', 'hhffhjgdgjfegbjgaca', 'bhggfeffhbhgfgeaj', 'jdcgj', 'chadeebdeecceff', 'fbhhcagebgebecca', 'afagafiafagdifbddhbg', 'jiaddgcahcbbec', 'bhdd', 'adegdaibcj', 'fidbg', 'gccahjbahgb', 'bgig', 'hdjbdhbifiafejaifiaf', 'gdfi', 'cibhiijighcghjed', 'bbfcbeaeegddeeeccgac', 'jffddfhgbaajfjijafa', 'aadgicf', 'diidieabhdaff', 'dgagfh', 'aacgcgchbch', 'aibeefcg', 'cgjfghcci', 'gefaddafjebcid', 'habihjjcbfegjcii', 'jf', 'ajfebbfdg', 'aaiccb', 'jhbgd', 'gjchbbjdecefdeec', 'hdgabahjgegfddjh', 'ddgec', 'fhhhfjjjig', 'bjeajffcccgcaeb', 'jjddcciiiib', 'ida', 'iiacih', 'fibjdebbi', 'dedhdadajfabhgjdh', 'degdgijebe', 'cfcifiicjjadgfidfi', 'iegbhjfdigibiacie', 'gefgieadfehb', 'dbabch', 'adggjgjeihidj', 'hgagdhdbicejcdhdgbfb', 'bddfhdhagheb', 'ajhjhj', 'bicbd', 'hhdffihdd', 'if', 'geedch', 'ccdhcfbcd', 'ddefiiabadiggf', 'hbaeccbhceahe', 'bie', 'gfgecfbg', 'bihgjbecfjcjag', 'chhihebc', 'fbejcbfidjeh', 'efbbgdaadjccgh', 'dfhhefjij', 'bghidhgabjjd', 'gfgeacceefggjbjc', 'beeiibhebbedjd', 'caj', 'jddjhfgcgjabcacihec', 'fahbbfbdaeifbdjhehc', 'bg', 'agchbgh', 'gabbjdeiaafcfg', 'fbfeiibecedbij', 'jd', 'cffghfcbgfd', 'ighcffe', 'eeggfj', 'afibeeffab', 'cfcb', 'ij', 'jbfhfidajhgghadgfd', 'dccfcagbbcfdjebbhjh', 'aidihaecj', 'fejgcbbeajbje', 'fjcigaicbceiedjicfe', 'iigfbjfhdbhbhe', 'cedjgcabjhebibf', 'icbgchbcbdfejaefihi', 'icei', 'feajgc', 'fcadggihecceeidcj', 'igeeiibigicdaji', 'egcbgadiaejibief', 'bhdaegdbjihbhcjbfhhd', 'dagifgihjaffd', 'fcggebbj', 'ijhadf', 'ageaagijbbec', 'iijjjb', 'bffeai', 'jeghghiheadj', 'ighj', 'eacibdehfbffibfcfi', 'ai', 'iaehjadheccajcacgaic', 'gajgddj', 'diaebg', 'feddgifdgd', 'fg', 'bbgjihgdgedhhaebfbi', 'cabfjiegfajjcjjhhich', 'gaaegedbfjcaeciff', 'faigfa', 'edcccgcigff', 'gb', 'jj', 'cfehefig', 'fjdcj', 'bifejbia', 'adgjeadd', 'fbfadg', 'ejahad', 'cijefjfegagiaecaidcb', 'bjhaa', 'feagccidegjcdcdcci', 'hfaabajcedha', 'fbhj', 'hadidbddiffheb', 'hdcaehedfcf', 'beibeeifibafdggdbcii', 'cgbegjedacbbgheide', 'ejfdg', 'iad', 'ecjdhjbjecjfbdif', 'jagbajeeh', 'chfdag', 'gej', 'fhfeejcccfgh', 'dffdfigbca', 'ahejibgjhbhigbbfbdg', 'gejadfbffddeahj', 'aegijjghhcaegdgjdbh', 'jighifffejcieha', 'jaebfbbcjdaadiahh', 'ddhajjdhfhigef', 'bbidfeedaggibeaf', 'dae', 'dbffjgcegdjjjdcf', 'fgjgdeidajfdcg', 'dih', 'fgigb', 'jhedehebab', 'fhdahidhjfefebifbif', 'acddgfgececfa', 'bbcaacfdbjbedhhg', 'aidgecficdadg', 'fdfiahajajeifjehddhi', 'ihiajedbgcicadia', 'hggehghjccjfgjbhaeh', 'dejfcf', 'diahjigbecejfaedfid', 'jef', 'dabhg', 'bddcgbbhbbgjdedff', 'cbbhg', 'bcabdjdaccahf', 'gbaeghhdcchcje', 'fheihacfefcdc', 'aegdfabjdfedce', 'hhajeaefbeidaie', 'dfeddhhaieieaa', 'gcegibbdfiga', 'jibf', 'fe', 'ejicacebiaeebhdei', 'eddejfeacec', 'cdcfgdibcahgfg', 'efifdceajagf', 'fj', 'bidcaigiafhaadj', 'bjehij', 'gacd', 'fdaee', 'dgigfdgh', 'hcibebcdgj', 'ajbghiafchee', 'afiiib', 'chebfidfdchieccbdgbb', 'babgfhdcjja', 'begcjbb', 'ejcbiiaaaajggaadi', 'acgjcfefae', 'eghcefedbddfadaa', 'feac', 'jhagihfjjjggj', 'jaiafeaad', 'igeajdbicghdid', 'bjhhh', 'faeahi', 'cfacjchhciabeabhbh', 'chig', 'fbhaegef', 'bdaecdibeiajagehgd', 'gbcceghchj', 'adiajhbf', 'jcejfca', 'ddjafidaeh', 'diifjjgjfbcaafecffj', 'gghjcaj', 'hedgfbjhifdi', 'aej', 'fjcbbbjhcjaddhidjce', 'eagagebcihggechdf', 'dafgefecjhjee', 'gbbibi', 'hggijcjgf', 'gffjf', 'hjbccbgjbj', 'jgecbbchiaahhee', 'begfjjbcgjegegjicjgh', 'ecfic', 'icbgidca', 'cijaiecii', 'dhfhga', 'digdji', 'dgefjj', 'bjg', 'dddc', 'baeiggifjeihcgcfejh', 'ceabjdi', 'beijjfdhhgcjfdegfa', 'baeag', 'ffg', 'edjjjdbgfg', 'ibacifci', 'aidcfddcabad', 'jhjcaejj', 'ajjdiifdhjgbcaaechd', 'bbbgc', 'hdhjfjcjccihehh', 'iejhadg', 'dcjigjbihafihhf', 'ihdhjh', 'ihfchbba', 'dhcfbab', 'cfgdeabbjbdeffd', 'hchhhjfhfgaaijhgg', 'ihbffhjggij', 'eacbchhiaji', 'feai', 'jbgjjdabhb', 'ajdhbeaah', 'ff', 'iihbeceaiaefc', 'bcbjabicjciaa', 'aei', 'ghegdghbcbd', 'acffdgcjdeihifgfhdb', 'ceib', 'chdgeiciabagiajdffb', 'dcgeghdcejcdhdcgja', 'dgedafc', 'bbfeffbjigfbiddidg', 'eji', 'bjhbbhjdg', 'gccibagcf', 'dejhhfhfijh', 'dhcagecgehcjaajg', 'fgbeef', 'icjgdedfbjbbe', 'jggabdede', 'bgcaabfiddgiihae', 'gdfffjdaefajhcbag', 'jifjddaf', 'cccgiccgh', 'ggchbdechfb', 'bdifgag', 'bgbbgfdhiiadbdhcd', 'ahcjgbafdghfgfac', 'bffeg', 'jdcgjhegei', 'bddchfjhifiabcjhaf', 'jgjdf', 'echd', 'fajigaeeg', 'gdccajjiafgjbdadhbe', 'gbh', 'fefbjdiigciadhbegha', 'fcbaeffehegfgghacheb', 'ededigeefgjhaeieb', 'ijjijb', 'ddeajgiabbggdfe', 'jfafeibieajchjefi', 'jeffeabgddhbcichhdba', 'jfbahffeicdg', 'caedfdjfhifcdchajaab', 'ihhafcgfhjjjdajefh', 'degifehahfahajda', 'dihgjhhcgcdfjhhchfh', 'jfeehagdhie', 'jhac', 'hfjgggihdd', 'cfgbciagefcef', 'dfabhj', 'eaeaeghjhifj', 'ccbeddgbehehdgedh', 'beiadhjcidihgc', 'biidjaiebcihdifdfdc', 'jbihciehff', 'aahgjfej', 'hcjc', 'cjdeha', 'ajcjhjcdce', 'echffgfeaaefdccicbc', 'abbdfjdbghbdjai', 'abjajbgefbbjjeadbjih', 'jidfeaehajibiddjfa', 'cghafafabcf', 'faejihifcadbfgfjeija', 'bchj', 'jhdjfhihbcfbiifcjji', 'egcajeijcjfjffahg', 'gajigfejiig', 'jhcei', 'iaiiicjh', 'gbjbgghagdejcibicdb', 'jejbcaigeggadiajjge', 'bijhgcdcegfhjajgf', 'caiii', 'aghgjacbd', 'gdcigajdfbfaijj', 'dcbhjjjhceiddiciej', 'hahbechegbibjacigbaa', 'chahgadgejaccahgaic', 'edghijgaicigecacijb', 'fffbgfjfihebgbdihg', 'cah', 'cbchjhigfceca', 'agigg', 'iabcd', 'eijh', 'aaggfbche', 'ihgdf', 'ejgcgfhj', 'fdiedjfaij', 'bcfhdejcebdcchih', 'eeifij', 'bihjejajeideag', 'jaib', 'cedaagfaf', 'hgcgheejeh', 'ccgidgdbadch', 'hjdicfdahfjaagdj', 'iibh', 'jhihgdahabd', 'bjgfh', 'cbfgeegceecbbedbihe', 'babeiedh', 'hddcfahigicefgcjhhec', 'aigfeidbhabfgdbjde', 'iadhhacfbhcfdiie', 'cdeaibgdgf', 'hcfbd', 'gbjacihdjbfjdac', 'ifbdbbefcdghabihdc', 'jjfajaa', 'hfbegeigfgjceba', 'eaheggdagjhjdfchf', 'gfaffhhacbegcgb', 'ghibcjgdjeeef', 'dccfggjjhihababifaai', 'ajcieiedaj', 'cebbjdcecgeffc', 'fiagh', 'cehi', 'cggaedihihjfcgjfjbbe', 'igdic', 'beafchghibf', 'bdbggja', 'haedbifebgicajfiche', 'djifiihihaje', 'jafdaefaaghaafb', 'eajdj', 'fbdjfehfejiifcfagdih', 'fa', 'bchba', 'ihd', 'gfifbajbedic', 'eecbede', 'jhhaidijeihehefjjdah', 'ccccdgdechgffjhf', 'bgegahhciahaehabeghd', 'ifjeaggahfci', 'efhgjah', 'cijcbgbjficdaedbh', 'ac', 'abdbedcfihagachdj', 'adjbfhhbbhheeehfjief', 'icjcggjigfg', 'ebeficiajcihdeidfjei', 'aca', 'cbehiahfeadfggha']
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:14:20 | 显示全部楼层

输入以下数据超时:

testcase.zip (7.67 KB, 下载次数: 0)
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:16:08 | 显示全部楼层

输入以下数据超时:

testcase.zip (11.73 KB, 下载次数: 0)
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:17:04 | 显示全部楼层

输入以下数据超时:
['jcbbha', 'afjg', 'hhdc', 'acffiaiidggfjahd', 'hddgdgdg', 'ceaidddhcjcbhihhacgc', 'ghfdb', 'hai', 'j', 'hicfeebdjfhccjhadeih', 'jfgfaehbhidjfggdfb', 'bejcfhbcdfdejdhf', 'dh', 'ijcf', 'gj', 'dhedijfhfhgbecgg', 'hhehadhbfbfbigg', 'daehhjcaiiaebgcgd', 'gjcj', 'ajh', 'gajea', 'hjcbgedbffgga', 'hbjibge', 'gabbdejaecjbceih', 'jdhjdja', 'abdaibbcgbb', 'efbbfichj', 'aaaachheagihe', 'adgi', 'cjhcagbhjdcchaaaaifh', 'ebg', 'afdffeag', 'jdebghbfejgf', 'daghaghhcfjaec', 'jceef', 'bjhf', 'djjibceajgcadfibcga', 'bieifhcagid', 'edfeaeidbjibgihi', 'agcdabhdcfacjibeb', 'dafaifeddgadacaic', 'gaghddaebiicefeahij', 'gdj', 'bic', 'bafffajdcffcjb', 'bagcgggejjffgdifba', 'hb', 'fjgdihjjacbaagec', 'b', 'fgihfaffhb', 'bffjafig', 'jbhibcbejjd', 'gjdcee', 'cdeecbbhbfabhiebdd', 'cijbdjaediccg', 'aejahhdhbcbiaicaccif', 'eeedjjabhibdah', 'fgdij', 'bcdhdghddhbfjbaccg', 'dbigdhagifjic', 'hghcabbaajei', 'ea', 'hgah', 'eacg', 'jeafhafggjhegjiabjhj', 'hffhihcdhecabefeaa', 'egdjihdc', 'gddjjcdeifcfhcch', 'achaifgbb', 'bgejgiaafgfajjehdjdb', 'ccieedfdegefdjcaifg', 'hebjhghjafbhcjg', 'hcibafcchig', 'ahhdhabee', 'iaicfii', 'bgafgejh', 'gjfaejjaibgiifg', 'fgihijba', 'aadgiajfiifg', 'cegjgibjafiifaijdb', 'afdihddihh', 'ecaheeic', 'eahedei', 'ifgjbajaccdifhg', 'eajaij', 'ffcfgfbhiaebaeaaacb', 'fdcgdbhfbihgicdhbf', 'acj', 'bggdibjgaciijccdaii', 'fagfdfhfccbjeighf', 'cffffdcffchg', 'iadbdbfaijji', 'cdech', 'ajgjfjbab', 'ihefbbcc', 'cgadda', 'fajabajafjedjdacb', 'ch', 'f', 'eigafjadfgbfjcadbhcd', 'ajbcfbaiihacec', 'abjbbjifca', 'gdfgefeeiedbhdbfhci', 'egigcihfjbaiiffdibg', 'eejfgeigaabbcaaiedi', 'acgbfh', 'dbfcihd', 'hi', 'cg', 'edcbgbddjfccfghjacbc', 'jedjacijfjiacefhi', 'fibiicheeicdeehicg', 'fbahafhjchbi', 'haacgejdijhbid', 'ajbhj', 'fehjfbehddcdadbdb', 'cihficdjjehiahgfaa', 'bgbijfgeae', 'hfdhdceccbiaccb', 'jcibchfg', 'ddjabaigh', 'bb', 'fhhciadihc', 'digfbhg', 'hbg', 'dfeciajfjfgighi', 'debaij', 'fc', 'gbjiabfjbgfgjaa', 'abgjfheb', 'jjehi', 'iidace', 'ijecaagffiae', 'cgahbii', 'igb', 'ahedhifceachccibj', 'h', 'jbjgaajiedff', 'bc', 'eiifj', 'ejeidigiiibec', 'dbchbddggb', 'fbabhj', 'igh', 'hegddcj', 'gddgah', 'egjdiidjgc', 'abhfhagcifhcaiidf', 'jfi', 'i', 'fdbiaieab', 'hgcccdchadje', 'ahihhafi', 'ddgeegjijbebeeibbdg', 'fcabgbejfdjaj', 'jfibdiafgfgecjee', 'idejgface', 'ecieajdagcbbc', 'eiehghedcg', 'jdeedjaieebaedih', 'gifbdecjcda', 'ggibecafcebedifd', 'adcbghdhh', 'hjdhd', 'hbeejddd', 'jdceejbiccbgefidc', 'ebe', 'dg', 'fiicdbibjced', 'fdbfceibccdgcicgcjgh', 'cfbheeadeiciaa', 'agiddbbijjieb', 'cabcbddf', 'effci', 'fcgbcfj', 'cddacbcfcfd', 'fabbeigjijciche', 'ed', 'ehdcfeejeae', 'gbagecegcjaiefdc', 'ggghjecjiijcc', 'ehheec', 'cjajgicccbffffhaai', 'eecgfdahha', 'bf', 'eidcghceihhfhdeih', 'dfdiaegficdiihigaifb', 'fiiadifh', 'djgfiagggj', 'hgcghe', 'gibafbccbbcdedjaeed', 'egji', 'efbcbdcgbgg', 'aidbaaaeeajhjechcc', 'cgcb', 'hbcbgcdbejdicijaee', 'cih', 'ibjecgjjbd', 'ijjdhgjagf', 'a', 'ediggeieghhijbe', 'ifgfjaidieifhcgd', 'dibfabcdeebjgjba', 'gahcabhbcfhd', 'bicegiehj', 'aaahbjifgcea', 'bdbhaehgbejdf', 'iiahiia', 'egibgiadi', 'eficbcacbh', 'hahhhadjabeacea', 'cejhhe', 'dhabbjgcjehbgff', 'ffdjghd', 'eadjdfjdhcgjifedeb', 'hgihajefhfbbhcai', 'jdaeieecgijhifjejfd', 'hbgidf', 'ifhjgigiaai', 'fgiadieigcdbcj', 'hgdjfhgh', 'hfifhbehhfa', 'hafjaegjdj', 'dgeiiibfjciadd', 'eh', 'hjijjihbafh', 'cjjccfjfeahifecffa', 'ciabgchjdgcccgf', 'jcdabhcdjfcagdga', 'd', 'g', 'aahidacabheejdhjg', 'gbaegcffhegihbi', 'ae', 'ggbhjcgbdgffegagfag', 'ejabehcfbfddjhc', 'addida', 'ebhcgejjjjgj', 'aebaibfijibhecjc', 'ciehjcgjigbae', 'ibjebbdbeg', 'cdcjbbicehjee', 'gjffaccgadjh', 'fifhjg', 'efi', 'befgii', 'bcghgchhhdfgi', 'efgghcbhgjh', 'aabghdbgj', 'cche', 'ij', 'aghadedcji', 'ehgdajhfeicahig', 'hd', 'agbiehefjdfbijg', 'djeiighaceidgdbjhj', 'fabbjhj', 'ghjfbdehggbfeceggaf', 'hcfjhajdfbgceceddhcf', 'jee', 'ifcjaacfbijjgacdih', 'gedhefbea', 'bha', 'fbjjfieedbdfbdeaaba', 'fdhecficdajcjddd', 'iahcie', 'cdhdabchegjhhgcdede', 'jifjhcbfgahhffggh', 'jajdefcifaejij', 'ibiegjiiffcj', 'fjab', 'addfagdjiehcf', 'acefjda', 'bh', 'iegea', 'eefegfbddf', 'geedeejcgcghiee', 'cjjgbdjibhhgbgjecjb', 'jgbdfjjeg', 'diijgfe', 'bbejehacgfjccidcbh', 'dagcihcfbbibffjje', 'jidgfaajbgcahde', 'ef', 'hjh', 'biabbcjacfcihce', 'dbhaigjajefabhhfiid', 'bfbfdiajb', 'dijdcbb', 'fbhjbic', 'bggehggefjdcagbjj', 'ehfd', 'jciddhj', 'fejgjagjdiai', 'fiaef', 'hffhdg', 'feeffgj', 'ebgcaaagcefdbhbbci', 'jicjbbbecdjh', 'cbjfefbg', 'jacfcfi', 'cieb', 'dgghiddj', 'ibebbegigidbddadadfg', 'ddfjiccj', 'ichj', 'chddgfiadcdgajfjafa', 'cicdbfidi', 'ghjbibddjef', 'hcdaiicbd', 'hda', 'cejjeejieebegaid', 'cadiff', 'cebd', 'af', 'jfggiab', 'eeaacbbcjhfgge', 'ijecagdb', 'iecjbbiebehbibg', 'fiacjagf', 'icghdiadggdagi', 'cibgdhfbahcihbhjei', 'ejbceehedid', 'hbiihhiffdf', 'icadi', 'geffhg', 'cdifdhafjceafcha', 'dcjhbdgdjhfaceahfhcg', 'fa', 'iefdcc', 'ehaddejhbcabiacbi', 'geahhbbfdjegjccd', 'jbfdggjhfcdjdbigei', 'ihjeeegiebjbihhf', 'dcj', 'jebcc', 'igaaciee', 'cefaibfd', 'gddeabfedjgdcdfchhc', 'bjfhdgidhg', 'cbai', 'bafdhbdbfhajihfhjdb', 'dffcaedjecjgeecfdcec', 'fefd', 'hffcdhgfedhgbidejce', 'bfhj', 'c', 'cidcghdcecfcgfdfgbif', 'jdjggeicb', 'bff', 'achejibgiggahfhede', 'hehgeeifgfcbadjdab', 'jdei', 'ifcbhjhdhidgdjii', 'digibfcagbcgijafabji', 'fchjhbejaibefhegf', 'idjac', 'bchjebeejjic', 'dheahe', 'chcijggbfjbdc', 'cjabcibcajjeifedieeh', 'bhecabgaffdidgeccdaj', 'agaefjhjhcc', 'icihfhaaifbdgehhbg', 'jfajhi', 'eccic', 'iecbbeggadjcdjfgbdeg', 'e', 'ijijaahacahj', 'hdheidggdjg', 'caegbf', 'jbhchhbchci', 'aiihcddbghgjijbhf', 'cfagaebcigdchfjahhfg', 'eb', 'ijghecgaifcgd', 'hdcejafhgda', 'fefaifd', 'iiiigfdbbcgcij', 'ibcgafaheadeacjbh', 'fijjbaidjeiaj', 'gdiedchbid', 'idcjgfdbgjf', 'edjaibgcie', 'aifhadhfdh', 'aajeb', 'hc', 'aiiafhece', 'dfbig', 'hif', 'gjbjeffbcjbcbejejdcf', 'fjedhbibah', 'bijhd', 'ice', 'dcia', 'fehfjedj', 'igidafjiejdheiehg', 'hihcdje', 'ghcbighfgbijbigci', 'hcbhjacacbbjbcbhgdcd', 'djfabdbabjbabgidacdi', 'ddjibhfjiied', 'acfbagiai', 'ibjijedccbeebbcggdgb', 'egjabieicjgjabdcaced', 'dbbiiegh', 'haegai', 'dfgfijibfhjbieebdh', 'jfifccifjaej', 'gibceajgiihj', 'fhbfaijjbhig', 'eebagjggjfdcfbebdhb', 'dcdajbcfdfccaadfj', 'ehhdbibiefdbadcecjj', 'chgbbhifbha', 'bbagddefdegcjc', 'ecbidjdgaedgh', 'idg', 'haafe', 'eeeheabiahgcc', 'ffcdja', 'eed', 'ceggbeace', 'fhgfb', 'ccdedfdfchjb', 'jfjfefddfehef', 'dejhbed', 'cfdhjij', 'jdahafaec', 'jcccjadfcig', 'edfbbbaeiccfff', 'fbfdbhhchfjfeiad', 'hcifddgddefaj', 'gjafighje', 'id', 'dcffefbaehj', 'gcaac', 'cjaggigcabaaeegjdef', 'hbcjejfdeiiheeghi', 'abababffeajifaea', 'bbihbhfaf', 'gjihbe', 'afabadfjcee', 'ihbjhfajf', 'fjchejfg', 'dc', 'gaajagfaadeacdjcgd', 'fb', 'fjhgfiehib', 'cibcgbcjdgiibdjbf', 'gbjdfhihfjj', 'gjgcabiicijihggbeafi', 'fdeh', 'ijiibbecjcjeicd', 'bgecihj', 'gbdiificgccgh', 'deebegbfgcdbjjcdjh', 'ihfgbhiaahhfggcjcdh', 'cabj', 'cahaf', 'jhicdadegjgjed', 'cecjceghgigjgejacj', 'didhi', 'if', 'fgadbhgech', 'bgchbchfeibdcid', 'cjefhigjdgggegghbeic', 'cgg', 'fiagcgjdbcf', 'ejbabaedgbiba', 'gccadcjjaadej', 'fd', 'jbghjdicbeaaa', 'fg', 'jefi', 'dabcaad', 'aaicbhhdicf', 'defjf', 'bieije', 'bghdghhhhdbba', 'ieajfh', 'cff', 'adehegigacdg', 'affi', 'jdaejihbifbbddd', 'df', 'cb', 'dbee', 'cj', 'cjd', 'fde', 'dhejdfighhejhgc', 'fdd', 'ie', 'ecbjbjajagi', 'fgbiieeeccfcgb', 'bbifdhehcaj', 'fjchi', 'ab', 'ggcbdggciaigbhgegdhh', 'cee', 'cecjjhcbge', 'iejf', 'beeahabi', 'ce', 'gedbacfcfhgdhcagd', 'ggd', 'decdfcgjaagjifjb', 'gjhbjajgcfgcfjgb', 'jhfaejjcga', 'gcag', 'hhaafheeecfg', 'gihajbebhgbcji', 'afjh', 'hccbbige', 'ifaih', 'fcdjhj', 'aajeibbefghajje', 'ghj', 'jfaacdggacbhdif', 'eefcaefhaijebchddej', 'gggiiagfijjffeiccbd', 'aeheifif', 'cfcdjjedjefjcig', 'hhceccjfbjebdbbgad', 'egjhjjaajdciiehicd', 'jgjedigaj', 'abdjhjhd', 'jahgcghhiccbf', 'jdaigcdha', 'ifjdci', 'ghjhghbgdhghhdadehjd', 'ccejgigceidb', 'gejcgdaebfjdj', 'gjjhiehdig', 'idcebjagc', 'aedchhdgdagjhbg', 'ejghchgbegcdjjh', 'jijbeacegdgaiegec', 'bcdehbjaf', 'ge', 'beabcgicibagjddeg', 'ddgcggbgf', 'aeciafhchhdgcifhda', 'cgcgaigdifjgj', 'cehjhhbaehfab', 'ehacaf', 'ggiheda', 'jafhabhdijejj', 'igbghjaiefg', 'iejicejecfgacieb', 'ghadfggbhaecfibggd', 'ehbieibfcfdgchgfhhij', 'dhedicbgdjai', 'dcddcejahagabhdgfefj', 'djjidbagfdgadbdcadbg', 'ajfihcaajbibgja', 'ecjgegbifha', 'chahafbfhebjadjhifai', 'hfaeaejdihfjjdfgafhc', 'jai', 'aeabaiai', 'iehe', 'ieeejb', 'dbehfcgfgbceef', 'beefg', 'ifhfdabfhjeb', 'edbjabda', 'bbbhbdciiaeaefia', 'hdehfjhfgggbccf', 'ibhhfgdbadd', 'ahcfigciefjjadc', 'hgcgaebjdafhi', 'idbgg', 'jfee', 'hegchgecdajabfh', 'gjjh', 'jdfacjhfiajd', 'jddefjh', 'eefgacgdcbj', 'agjhjecdgghccf', 'ecjceih', 'ieai', 'dbgah', 'eeb', 'dbedhffjjhhdg', 'higfdjgdcefihjjhcjic', 'cjfbcbbc', 'fbjfdjiagdhead', 'geejhgdacig', 'bjgjcdhbdfdejf', 'hgedeb', 'abi', 'ji', 'jc', 'cajgjacgfbbd', 'agjgfii', 'bheaeaafceidhcb', 'giijcgjdbb', 'hfbeeceadijjjadb', 'gacghgiadgh', 'fcdedaabbge', 'egfdbjiiaafe', 'jej', 'bdcacifcfjjafhajeh', 'fajjja', 'gagigecgedchg', 'bdefaihfjbdjjgchidg', 'idjdiiaed', 'bhjfajfggbaf', 'hdaeidgc', 'jh', 'cha', 'ijeicagebcci', 'hbfaafig', 'dhhc', 'bcfcaeefbafbbe', 'cghdhchechebjcic', 'fedaiggh', 'jcgjbidcefg', 'ggagcbbfafbcbd', 'facee', 'jijfdfecfbidcciai', 'hedfgahgcdbech', 'cc', 'ghjffahcajaga', 'ajgaea', 'bbjgbaacd', 'adcea', 'befahhbhb']
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:18:42 | 显示全部楼层
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:19:18 | 显示全部楼层
kinkon 发表于 2020-3-22 22:06
先跑起来,速度有点慢,后面再想其他办法

会超时
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-23 18:20:10 | 显示全部楼层

输入以下数据超时:
['ce', 'dgeidjahgja', 'bajcghhahfjd', 'iig', 'dbdhhcjccaibed', 'adebcdj', 'bc', 'afeibecddhbi', 'fa', 'jegeaghf', 'ejhaicabecjj', 'deciibbhjb', 'bccc', 'aijicdiajibg', 'djaijcccfjeadcd', 'ecfebihegibc', 'hdijabfdfffdi', 'gcdijdgcbfcgijb', 'hfbegbjdighi', 'ecfjgdeac', 'ia', 'cgeiicicbdeihb', 'ffhhegccgdj', 'daaeceebfcdajjhdf', 'diefiaijcededgggfifg', 'cjbjhgjbdajaaefihh', 'hicgcehaa', 'ahbggajfaiecdebdgeig', 'aiijacjajijjih', 'baeaaefhdfghhaagdd', 'jegfdgadjff', 'fei', 'ggbhgbbbhejiiechaag', 'iihiecfjijhbhjjjf', 'db', 'idjei', 'f', 'gedfcjbefaihafbdbe', 'dcdhgcejibebhceggcf', 'dfhh', 'hdbcgjhcf', 'hifgd', 'gbejajijcjjcigg', 'ifaa', 'aeeajebihhceicfd', 'iedgjfbafdghbjbf', 'geffejifbfccigcaf', 'cgac', 'hgdbibjehcc', 'eejfchgfjh', 'aehcbebeeihejbefdji', 'bddae', 'bcdfg', 'hhfjbhcgghghegafcb', 'jchhh', 'ajdecciafbcgdbhjgi', 'ajjfeajdbfdcg', 'dibfihbibcdeia', 'fgaaghhdife', 'hgeedf', 'gjebijjjeahhdfdjbe', 'ifdgchajjhgh', 'gidihddjagji', 'ejghja', 'gejbahjc', 'ehiaacha', 'iiefgcejcedgejgbi', 'hc', 'jiijdfaahgaeajcefhd', 'da', 'efaihcgbjdffcea', 'ahdebbej', 'fchihdd', 'e', 'cfaijjjaf', 'jegeiiaihhchbgijgd', 'jaaeebefe', 'c', 'eef', 'ih', 'ddcjfjhehhi', 'jagcicfcfihc', 'b', 'cafh', 'jdjdffe', 'g', 'deiifaagad', 'cj', 'efcaiibfcaichecgh', 'fgjcgbdcfgeejehhf', 'eeajjaejeb', 'faheec', 'fdfgicfad', 'hhcebgad', 'ijgc', 'bh', 'bhc', 'geiigeae', 'gebhhghhiffggchcahci', 'hecj', 'bfaegafffi', 'aej', 'bfj', 'iigfchgfghfdieig', 'aefbeiedjiecd', 'caebbibdicheei', 'baaafeifcacaii', 'cgchedaffee', 'bcifcfhibdaaegaejag', 'deccigad', 'gdggjaejjfibff', 'ciei', 'dh', 'igjbgd', 'aeghjghaejaeehbca', 'eeagccebihjhie', 'ej', 'ah', 'dbhfiebjg', 'gf', 'hggbdibgjj', 'ecgdcdaj', 'fbefjgffcc', 'bcgdccjadbeigfibdgf', 'ibded', 'fb', 'iddd', 'deciehdghfghie', 'ecedae', 'j', 'dahhjgbfidf', 'jhdjidieghab', 'fbabbcbjcab', 'gbaacdjjffjae', 'fibcdhhibieghehahif', 'bghbjbibidij', 'ecb', 'ibadjhfedjbjdhehh', 'ajfhedihcbcdaaciaa', 'jhh', 'ifbffeagiefcbj', 'fgiiadihaaicabgfdjhe', 'hbicfhbbhggffehcjgj', 'chjhgeb', 'ecigcdcdhihafbdjdbgc', 'ggecheijagc', 'cfigjaihbeicbb', 'jdddjaebfeb', 'ghgeadfb', 'gidgdffbhedijhhgc', 'ahjfhajjahedd', 'bhjiji', 'dcbfbbbdaa', 'aadecebfbhbaaaaj', 'cdejdg', 'fbagdeeaaadiedfibfjh', 'bcfaghjc', 'iifegjbjgehdadi', 'hicffhfe', 'hja', 'afdfcceifjejcjdcb', 'efaiiddfhecfghcbfbae', 'jhafcafiejfhjii', 'jcdbhagaafgfi', 'chhgfcjggcaj', 'gagiefegidbceidfff', 'efbagegdehfeejijfa', 'jjicdghbefagiiiai', 'd', 'ebfafajehaecedeaai', 'ec', 'ijadajgiaebbadefji', 'ee', 'gbhhgbgbhfe', 'adddifjdaaefggdgi', 'cfhfdafbah', 'aajeefcgc', 'abbe', 'jddfabgahbgecifbgfh', 'gegb', 'bgibhagfgge', 'jfcbajjaaahhee', 'gchfgeffjc', 'fehcfdbj', 'chci', 'jhchi', 'jeg', 'ebcfhffddechdbhh', 'cfdaj', 'hhcbgaeci', 'gfjiajbbhjaadchiaj', 'dcajbcaddh', 'faidagcfjdgijh', 'ijehjaihdb', 'fgccdfhejgbcjhia', 'bdaddggfifg', 'jibceacaecfdjjcedhde', 'aid', 'cbaiibcifedhgffaffih', 'gjjcfcdbibfehfghjgcc', 'ffjecgihbfcihebbcaag', 'hjgdf', 'iiah', 'bdcihbbf', 'hadaea', 'bdgegbffehagicejdafi', 'cigbeib', 'af', 'idfcbd', 'eccffd', 'cedcdjhagbabiae', 'bj', 'cccicdigea', 'ififebgaijgchg', 'hjba', 'abbf', 'jebfi', 'ebaicjdchbhbih', 'bcb', 'gegjadhjcgiiib', 'gcfhibhfbhaebf', 'i', 'icdfhggcjjghabiig', 'hbhjedgfddaccdhgiicb', 'hdh', 'hgchdh', 'gccgfefghifhjegagdeh', 'idbeifb', 'fgjehhjcice', 'chbidgchdijd', 'afhahdfjfjhidahi', 'hbcbeijcdhgbaejdhf', 'ceaeiehbadbheff', 'hcbagaibcgijdbh', 'hjh', 'h', 'ejchbbhcadhiffdebb', 'ddfiehegbeh', 'dejfajga', 'cb', 'gaj', 'bjhhegdjcjbbhia', 'iag', 'bgccdgbhh', 'icggjediagddcgeej', 'ehbejghbadhcdfddbh', 'edafejhcgbdihgcc', 'ahjbiheddh', 'ech', 'jfecbadjhbcghhhjhfe', 'jhbeigbba', 'bcf', 'jfigjfh', 'eafdaecagib', 'eabied', 'dhbebcfcgehah', 'ji', 'ciiihahbgchcffabha', 'aheacabjfeb', 'fehfi', 'ac', 'jcgdgb', 'adfbe', 'agdhjfibjefe', 'bcfadfcfha', 'ge', 'edbajcfiacdhc', 'ehcfe', 'aeijjj', 'abjcij', 'dfdjicecccb', 'bai', 'hhbahdcigeffbhciba', 'fcgfjafcedgbfgcigjci', 'hdihcdhfagajfidid', 'dhfhcbec', 'gg', 'iegjcdcgddgfjad', 'ghhdhhgdfadbbfch', 'dfjdgfcdhiaebdfbc', 'dddbccaaadicfgacifeg', 'gieaebiihcgfe', 'bfgjbbdgiefjibf', 'fcfebhccjbadgfc', 'hcegbdfdjcfedhbbdbd', 'ibaifagjaadaghibdjcg', 'jdhi', 'fbcdebjdicdacdedj', 'bcijdebebajdjjbbbahe', 'dbcccffecfihj', 'gbfcidedjdhaahegjf', 'eeicb', 'jbcfeifghiia', 'cggghifdhfachjc', 'cgcdidfcbi', 'facebedieiigbeccfagf', 'biaheffcjhhhgea', 'bedfaaafji', 'ceiajfifdagf', 'echfbcfdfbfbejeci', 'biabifbhaaefecaecdfa', 'diabacb', 'chibjbegdhhehj', 'ecghjgghiajeidfghbf', 'afajb', 'dfh', 'ejcebid', 'bafiahgbebafdhcicc', 'ddgdiadicd', 'hhj', 'hgbhai', 'jjedgadhij', 'daaeaii', 'cdjbjj', 'aegbbhdd', 'ifee', 'dgaeggdcjhcbhjad', 'icjcjcfcid', 'bgjhbbgeahfiiihi', 'cadibicddccchicjbe', 'faaggedgjcfaideghe', 'gbcccfa', 'bahgbidacchgbbggjff', 'ghdcgdbcceieajcdeafd', 'abchaehaffheiifgfgag', 'dj', 'egfidfjdj', 'deaacgeehhicf', 'cfdfciibjfbef', 'echa', 'affgdd', 'faiifjahdifij', 'idai', 'ggdeigadhbjejdehhchb', 'aefjbgbcahadiei', 'gc', 'ibbbbfh', 'ejhegccbecij', 'ffidefbhfhijjd', 'jdiedbihegcbifgec', 'caba', 'hidcdaiij', 'dhhab', 'fcidefiggbaiahjfigg', 'bfdh', 'ibjde', 'fcbbefcec', 'bggifdcgdcdgghibf', 'eiidiadjaacd', 'fcdeiebjhga', 'aichjfjaa', 'dhiaggbggidbba', 'bcbbhgeieijeidiabde', 'igibfhhicgeehbib', 'jdibieibhehj', 'ffbiddfhbgdhg', 'jj', 'fafdhdbeecdgjccaiea', 'hgd', 'eehhefhehidhghcbj', 'dihcehfcje', 'biajbadedejeibhhihj', 'jgacieegdc', 'ahdbj', 'fffcfjfaaaigjeci', 'jhcbjbgbj', 'ecgcgfejfacbfaee', 'ibif', 'abdf', 'edbefjfbgdgdd', 'feebehag', 'ghjaffhdcdhdi', 'idc', 'fffcbedddeccfjfdceja', 'daggifbjadii', 'bdei', 'ahhhcejebddfbcjedijc', 'cgbfbjahiegjc', 'iihcbgfgfhcghgj', 'bagfeibadiaebaddbb', 'jjidcbfaifjg', 'adjiiffeadfaa', 'jjfaabfbbb', 'iejggfhdchgji', 'jcggfhjdceiajfh', 'jejadjcdgbj', 'hebhfigciefbiiiheca', 'bjhdah', 'jabdidj', 'bgfeieadbheeejdb', 'bidc', 'fdfgdaejeee', 'idfdihijjdcacidejea', 'efbga', 'fcgbf', 'ffejbde', 'gbgcacjfdcb', 'ebf', 'aeabgibggbbd', 'ff', 'bge', 'eh', 'bjhfbbjhebjffdaa', 'iaahdfhfhhgcedhg', 'fcdbdghafijhcdcgj', 'degghehdgj', 'aeg', 'aadbbjbjicfgjgcbia', 'adibhdjcbedj', 'jaf', 'cbccaech', 'iihheffbhdifdjdbihf', 'ggcgjhh', 'egbjbgcgeedci', 'fc', 'hcjajddijghj', 'djb', 'caehhfffda', 'icbajai', 'jjci', 'iigibbd', 'bacacgegeih', 'ijd', 'jedje', 'gajggdacgagebjbdb', 'bcebijgbhcdjeafbgcig', 'bbecbc', 'iifehgcigcfccebebc', 'icffgcfb', 'bfggcheji', 'fhbfaaddjejg', 'iaghbbaejcieafhiaejg', 'egebcaahccghegaag', 'bjghf', 'aib', 'ggdfghjhdgh', 'ceibhbaahc', 'iiedejiejbgjchebd', 'ajfjciceadccabj', 'gbiahfjcgjejajef', 'hcacifagegfhcebibebd', 'addafacihjgjed', 'djhjebfgfcgjbgbjhdci', 'bfbchfdbf', 'fecjaihfefbfeec', 'cddbebehig', 'adgciahbj', 'ibeheha', 'acfaiijjieajib', 'ajfij', 'fghdjcddfaccba', 'dibjigfidbhdaieefbgi', 'gaiedig', 'dgdaeidjgcffbbd', 'beedibaedbdggcdj', 'hecgfeb', 'bifchagbjdb', 'hegejaddbbcdahfjfi', 'bjieffhjdh', 'aacbc', 'hjjihbacbggfgi', 'cbjaheadgaad', 'ediedj', 'gbg', 'dgijh', 'ijjbjai', 'gjeegfbbajhj', 'hbbfddgh', 'cejhgebag', 'ahjbcbhgibfefbafjii', 'jifhefaacahihagbh', 'cegegfdbidjbgiifajf', 'jbjj', 'ihjjaafahagjcgejbebh', 'afjacfii', 'jjcjafgbeeaiede', 'eeabdhecbddfjc', 'ghd', 'icjhhiibbbe', 'ghgdfbffcj', 'bgdeecefejgidefhg', 'bfbgihgfgfcgjf', 'idfgcjhjgihbbce', 'afj', 'ajdfeiiegggc', 'dacdffcjbfifahi', 'a', 'gdgdifdfaefjfi', 'ifhdehcchcecggcbb', 'fcdjgjb', 'iajejce', 'iifdcgicc', 'jaijiejdfdchaac', 'ggjfgcccd', 'chhhaccjccggedja', 'afdeceb', 'ffjbdgghafbjfibhicaj', 'ijb', 'ed', 'dfjg', 'fjhdgaecggjd', 'digfdjijj', 'ebcjbc', 'dcijfceibhihifbacc', 'icbhicaihdacec', 'jci', 'aaidj', 'fdggbcfjeb', 'chfijfgigj', 'aggjjjbhicadjhahecc', 'dihchbhaba', 'fhhgihebafbdcdcihebi', 'cdibchigjjeejcbjbbgj', 'hjcf', 'jbaafihhdigeaigjhf', 'ebbiffgebidbcghhc', 'gbh', 'hgihfjbbiiiaigabb', 'aghhidbhjdifdjegij', 'jaiegcg', 'fijdhhaabghdcdg', 'aefcehhbdebabbcjbg', 'aigfjcfdeeaefd', 'gihjcjff', 'fhjhddacdcddehahfb', 'eiibhbijeb', 'dddifagidibg', 'df', 'aahbijghedjgahfifdj', 'gh', 'ajejj', 'hifjfbegcjfgcjdjd', 'aheabcddbeg', 'bcagaegbd', 'cdffh', 'hcggjfbbfcj', 'egfeeh', 'jccfaig', 'jdbchgffijhefhh', 'dbh', 'chcadc', 'aeefejhdjdjbidagf', 'fhaigidhfcaf', 'cfhaiahiaii', 'iaedchdfcg', 'cicadccghihdg', 'fijjebj', 'hhagieabjaebcbcej', 'cbhbdagj', 'ejbgaegjafheefdfjdac', 'jgdehaeeiafaggcg', 'jddgaj', 'edeegaaiihe', 'ific', 'dajeijdcjjbdfhdgcga', 'ahdccaig', 'bjiaehccejb', 'bfiaabgaagbehj', 'haeaeg', 'iigbghgghfaj', 'eiibhjfbgbidffffi', 'hjdbajchgjgjcffbdgbd', 'jfaaacbghbdghg', 'hifab', 'jdgbhgdhej', 'eiaajhdchcfiah', 'ghe', 'jhadedjdiefbebah', 'bdgcffieb', 'fihcdgafcaiedfhgcdgd', 'gfaiifhjfcehiebh', 'edbdacja', 'jgafdihj', 'ahijahbbiddbdh', 'fhgiejjjcabjc', 'bifbcfcie', 'ejf', 'ejhag', 'giegiedghhaiffaaeeh', 'ejjichaj', 'iibfgbajfccjhahhba', 'bibcdhigjah', 'cifhahdahadhagj', 'dcfdj', 'geefaighbfhbc', 'bfa', 'dcjg', 'ejggceidedjeb', 'acgeafccj', 'bgbbjajibhahdahjgh', 'fddg', 'cgahagjcdha', 'diaadij', 'fgcaaa', 'jhdbf', 'ejhei', 'hbiadbbhfieecb', 'ici', 'bjfie', 'aggaebbbdcjajdijddg', 'hbghfihbij', 'iggiahehabaiiehgjghe', 'jdheba', 'jadchiajfcjda', 'gfafigdicbeifgb', 'ddf', 'ahe', 'jfjicadjcbjc', 'hbeij', 'cihj', 'fbdgbiecjcfdggchaaj', 'icejd', 'gaejifchifja', 'he', 'hcafaeaijfahgibbdj', 'dbcccej', 'ecdciffhihfci', 'jaechbfcidcjdjbfggg', 'higijgebicbijjgaae', 'dajiahghdefbfeiich', 'ghhagjbch', 'fiddjhjdbdjjjg', 'hdajh', 'ahbjhdhbeciccjedgjia', 'hceeihecae', 'ageecjfibcfb', 'dg', 'dcabhdhbhiccigbijjb', 'gjaaij', 'giiafafghefibcfdh', 'aciebfca', 'bajccfhee', 'ibchdhai', 'chfbae', 'affiefdedb', 'jfcbhaidbejcei', 'ghiedbhiaceh', 'idfgdjbhafe', 'cjbbcabbdbdhjbfd', 'ebaegiagheeefhd', 'jhehciieejejdffjcd', 'dihhdafbdgebbjd', 'ii', 'hcbighcciibagbgifaf', 'chhifhegebhaehj', 'jbicgig', 'cddafebibfaefiegab', 'cccdgg', 'baiigjaccgeeedghidac', 'djaddiabeiadbdab', 'gfb', 'jafifhjhiajgb', 'cfbadjacibhaf', 'ijfihfghgb', 'dcd', 'dbdgidcffbff', 'geacj', 'ijfj', 'fj', 'def', 'ffhdicjccgijeggf', 'ficcfdiabheghfi', 'ihdchifabacjhfj', 'fbefbaiafgj', 'hdiiicjaffdgdjii', 'dabijfi', 'ehaa', 'bjf', 'fbjiefgijbghgjcjec', 'hbchgdebedbegbhedehi', 'dabhggiaccjieeff', 'jbacgaibbb', 'fjgeafcb', 'achadegcfhhciahcciee', 'ahgfigjjjidjdjjge', 'ch', 'idcahihiaah', 'ifahejgafediad', 'gdfbcbhedgcdjjbgc', 'eihgjjbgecfedecf', 'fhhdaehec', 'ibeidbiigajdajd', 'hijbibedfag', 'bihifidbijafichehefe', 'dbiedghgfgeiaehfa', 'dijaehjibiabcgeiha', 'agbeggcc', 'ibgibfigfabihje', 'bidheijfhedjji', 'cgbejf']
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-3-23 21:06:46 | 显示全部楼层
def func357(m):
    result = []
    n = len(m)
    for i in range(n):
        for j in range(n):
            if i == j:
                continue
            sumstr = m[i] + m[j]
            if sumstr == sumstr[::-1]:
                result.append([i,j])
    return result

评分

参与人数 1荣誉 +3 鱼币 +3 收起 理由
zltzlt + 3 + 3

查看全部评分

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-3-24 02:58:14 | 显示全部楼层
本帖最后由 阴阳神万物主 于 2020-3-24 03:02 编辑

难度评级:简单
要素分析:枚举 字符串
感受:由于输入数据无规律,双 for 是一种必然(不然就是递归),在遍历的效率上没有太大的操作余地,来得晚,常规的解法应该都出来了,我来个就一行的格式吧。
solve = lambda word:[[i,j] for i in range(len(word)) for j in range(len(word)) if (i!=j) and (w := (word[i]+word[j]))==w[::-1]]
if __name__ == '__main__':
    print('示例1 输出:',solve(["abcd", "dcba", "lls", "s", "sssll"]))
    print('示例2 输出:',solve(["bat", "tab", "cat"]))

评分

参与人数 1荣誉 +3 鱼币 +3 收起 理由
zltzlt + 3 + 3

查看全部评分

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-3-24 09:19:58 | 显示全部楼层
zltzlt 发表于 2020-3-23 18:07
输入以下数据超时:

楼主,超时意味着什么?
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-24 12:55:07 | 显示全部楼层
蒋博文 发表于 2020-3-24 09:19
楼主,超时意味着什么?

效率低
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-3-24 19:31:19 | 显示全部楼层
旅途Z 发表于 2020-3-23 13:08
def is_palindromic(str1, str2):
    determine = str1 + str2
    if determine == determine[::-1]: ...

楼主 我的超时了木有
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-3-25 21:42:24 | 显示全部楼层
萌新小试一下
def fun357(list1):
    def huiwen(test1):
        length = len(test1) 
        last = length - 1
        flag = 1
        length //= 2
        for i in range(length):
            if test1[i] != test1[last]:
                flag = 0
            last -= 1
        if flag == 1: return 1
        else: return 0

    list2 = []
    for i in range(len(list1)):
        for j in range(len(list1)):
            if list1[i] != list1[j]:
                list2 = list1[i] + list1[j]
                if huiwen(list2):
                    print([i,j])

fun357(["abcd", "dcba", "lls", "s", "sssll"])
fun357(["bat", "tab", "cat"])
            

评分

参与人数 1荣誉 +3 鱼币 +3 收起 理由
zltzlt + 3 + 3

查看全部评分

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-3-26 17:58:26 | 显示全部楼层
版主12楼,17楼测一下
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-27 17:44:12 | 显示全部楼层

输入大数据超时
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-27 17:44:54 | 显示全部楼层
flamezyy 发表于 2020-3-22 22:44
做题可太有意思了

输入大数据超时
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-27 17:45:41 | 显示全部楼层

输入 ["a", ""] 结果有误
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-27 17:46:54 | 显示全部楼层

输入大数据超时
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-27 17:47:37 | 显示全部楼层

输入大数据超时
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-25 19:32

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表