摘要:
Time Limit: 2 sec / Memory Limit: 1024 MB Score : 450 points Problem Statement You are given an integer sequence \(A=(A_1,\ldots,A_N)\) of length \(N\ 阅读全文
摘要:
D.Avoid K Palindrome 原题链接 Problem Statement You are given a string \(S\) of length \(N\) consisting of characters A, B, and ?. You are also given a po 阅读全文
摘要:
C.You Soared Afar With Grace 原题链接 Problem Statement 给你一个长度为 n 的排列组合 a 和 b 。您最多可以执行下面的操作 n 次: 选择两个索引 i 和 j ( 1≤i,j≤n , i≠j ),将 ai 与 aj 交换,将 bi 与 bj 交换。 阅读全文
摘要:
C.2a b2 原题链接 Problem Statement A positive integer X is called a good integer if and only if it satisfies the following condition: There exists a pair 阅读全文