摘要:
转自https://blog.csdn.net/lyy289065406/article/details/6683250对于这种标记,不考虑线段树,而是有技巧的1.首先将小蛋糕的size记录在数组sizeNum[size]++这样做就不用排序什么了,因为数据小在循环时... 阅读全文
摘要:
题目http://acm.hdu.edu.cn/showproblem.php?pid=2209转自https://blog.csdn.net/cillyb/article/details/53002362从左往右翻,如果当前牌左边为1,此时必须翻牌。一直翻到最后一张... 阅读全文