摘要: Code:#include#includeusing namespace std;struct Node{ int s,val,tag,v; Node *ch[2]; Node(int u){ s=1,val=1,tag=0,... 阅读全文
posted @ 2018-09-04 20:57 EM-LGH 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 非常繁琐,细节巨多。 1.尤其注意两个n出现时按常数算。 2.读入数字时要读整个字符串,而不是单个字符#include#include#include#include#includeusing namespace std;const int inf = 10... 阅读全文
posted @ 2018-09-04 00:51 EM-LGH 阅读(136) 评论(0) 推荐(0) 编辑