------------------------------------------题目--------------------------------------------------------------------------------
Description
Great Bytelandish net of supermarkets asked you for writing a program simulating costs of the promotion being prepared.
The promotion has to obey the following rules:
1.A customer, who wants to participate in the promotion, writes _disibledevent=hash_max(maxnum)-hash_min(minnum);
del(maxnum,head);
del(minnum,head);
}
printf("%I64d\n",res);
}
刚开始接触线段树,还不会离散化~继续学习。
最新评论