m**6 发帖数: 47 | 1 我用C#写的,自己测试的没发现问题,
代码在这里:
http://ideone.com/AhFzEF
Test Cases:
===================
False: ab :: ba
False: a :: bb
False: aa :: bb
False: aaa :: abb
True: a :: b
True: ab :: bb
True: ab :: abb
True: abaa :: abba
True: aba :: abb
True: abaa :: abaaa
True: acaaa :: abaaa
True: ab00 :: abb0
True: ab00 :: abb00
True: ab000 :: abb00 |
|
s******t 发帖数: 579 | 2 Here you go.
NBME1:
BLOCK1:CBBDC FDCJH CAGCF CBFED BDBED DAABB ECCAB DEBED CACEAD
BLOCK2:BDADD EAEGC EDBEC DGAHN BBEEB CDEAA ADBFE EDDDE DDBBBB
BLOCK3:FCBBE CACAE CCAED ABGCD CAACC CAEAB BBEBA DABAA DCEDB-
BLOCK4:HEDDD GFPBA HAIBB DCECB ACEDA EABEA DDBDC GFEEB BCBEFC
NBME2:
BLOCK1:EABEB BCCDA JHDAD B-DAC ABABB AECDG DBEAC AFAGA EBECBF
BLOCK2:DBADC DBDAC BDCCB CBABE FDDE- IBEBD EBBAA DEDDB CEDECD
BLOCK3:DCCBA ABDDB EBDAC ECGCB EBCBH ECDGA DDCCB CBFED EFDBCD
BLOCK4:AABEE FCGEB ACEEF CEDJE EDEAB FD... 阅读全帖 |
|
w*****i 发帖数: 220 | 3 考了半天古,在版上搜出来了一份,号称多人讨论核对版,多谢当年贴出来的前辈。转帖如下:
NBME1:
BLOCK1:CBBDC FDCJH CAGCF CBFED BDBED DAABB ECCAB DEBED CACEAD
BLOCK2:BDADD EAEGC EDBEC DGAHN BBEEB CDEAA ADBFE EDDDE DDBBBB
BLOCK3:FCBBE CACAE CCAED ABGCD CAACC CAEAB BBEBA DABAA DCEDB-
BLOCK4:HEDDD GFPBA HAIBB DCECB ACEDA EABEA DDBDC GFEEB BCBEFC
NBME2:
BLOCK1:EABEB BCCDA JHDAD B-DAC ABABB AECDG DBEAC AFAGA EBECBF
BLOCK2:DBADC DBDAC BDCCB CBABE FDDE- IBEBD EBBAA DEDDB CEDECD
BLOCK3:DCCBA ABDDB EBDAC ECGCB EBCBH ECDGA DDCCB CBFED EFDBCD
BLOCK4:AA... 阅读全帖 |
|
|
|
|
|
l*********8 发帖数: 4642 | 8 aa,ab"aa"a
是aa|abaaa吧
请问ab"aa"bbb"aa"b呢?
“如何配对? 规定一个cell里只有一对quote吗? |
|
|