随笔分类 - 位运算
摘要:链接:https://ac.nowcoder.com/acm/contest/38284/A 来源:牛客网 You are given a sequence of integers $a_1,a_2,...,a_n $ There are three types of queries: $\sum
        阅读全文
                
摘要:链接:https://ac.nowcoder.com/acm/contest/38650/D 来源:牛客网 ###题目描述 依晴听说最近某平台在进行暑期特促,于是决定进行一波购物。她来到商店,发现一共有 $2^n-1$件商品,其中第 $i$ 件商品的价值为i,价格为 $c_i$ 她摸了摸兜里的钱,发
        阅读全文
                
 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号