摘要:
You are given a binary string s consisting of n zeros and ones. Your task is to divide the given string into the minimum number of subsequences in suc 阅读全文
摘要:
There are n people who want to participate in a boat competition. The weight of the i -th participant is wi. Only teams consisting of two people can p 阅读全文
摘要:
You have n gifts and you want to give all of them to children. Of course, you don't want to offend anyone, so all gifts should be equal between each o 阅读全文
摘要:
You are given the array aa a consisting of n positive (greater than zero) integers. In one move, you can choose two indices i and j (i≠j) such that th 阅读全文
摘要:
Problem Description An undirected connected graph has n n nodes and m m edges, The i -th edge’s length is $2^i$, Each node i has a value \(a_i\) , whi 阅读全文