摘要:
这个题的第二组数据一直过不了,原因是int layer=t.layer写在了for的外面,导致每一个方向共用了一个layer。/*InputThe input consists of several data sets. The first line of the i... 阅读全文
posted @ 2018-05-02 21:06
MCQ
阅读(104)
评论(0)
推荐(0)
摘要:
/*Sample Inpute2 e4a1 b2b2 c3a1 h8a1 h7h8 a1b1 c3f6 f6Sample OutputTo get from e2 to e4 takes 2 knight moves.To get from a1 to b2 take... 阅读全文
posted @ 2018-05-02 17:31
MCQ
阅读(105)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;typedef struct node * tree;typedef struct node{ tree rchild; tree lchild; char data;}node;tree df... 阅读全文
posted @ 2018-05-02 15:35
MCQ
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号