摘要:
Problem Statement You are given a string SS of length 2N2N consisting of lowercase English letters. There are 22N22N ways to color each character in S 阅读全文
摘要:
题目描述 There are N points on the plane; the i-th point is at (Xi, Yi). There may be multiple points at the same location. Four of the points will be col 阅读全文
摘要:
题目描述 AK掉五校联考的题目后,鑫鑫在研究二进制在数论中的应用。鑫鑫给了你n个数,每次你可以从这其中选择两个数a和b,将它们的值分别赋为a and b和a or b(均为二进制位运算)。这样的操作,你可以执行任意多次。鑫鑫希望最终这些数的平方和尽量的大,你能帮他求出这个最大值吗? 输入 第一行一个 阅读全文