摘要:
Description Description Both Saya and Kudo like balloons. One day, they heard that in the central park, there will be thousands of people fly balloons 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/888/G来源:牛客网 题目描述 Gromah and LZR have entered the seventh level. There are a sequence of gemstones on the wall. 阅读全文
摘要:
Problem Description Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell meHow many kinds of necklaces total have.(i 阅读全文
摘要:
Problem Description For a positive integer n, let's denote function f(n,m) as the m-th smallest integer x that x>n and gcd(x,n)=1. For example, f(5,1) 阅读全文
摘要:
Problem Description In computer science, a heap is a specialized tree-based data structure which is essentially an almost complete tree that satisfies 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/887/A来源:牛客网 题目描述 A string is perfect if it has the smallest lexicographical ordering among its cyclic rotations 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/887/D来源:牛客网 题目描述 I have a very simple problem for you. Given a positive integeter n (1≤n≤1000000)n\ (1 \leq n \ 阅读全文