摘要:
Heard that eomeom is a fishing MASTER, you want to acknowledge him as your mentor. As everybody knows, if you want to be a MASTER's apprentice, you sh 阅读全文
摘要:
题面: For a positive integer nn, let's denote function f(n,m)f(n,m) as the mm-th smallest integer xx that x>nx>n and gcd(x,n)=1gcd(x,n)=1. For example, 阅读全文
摘要:
You are given three positive integers N,x,y.Please calculate how many permutations of 1∼N satisfies the following conditions (We denote the i-th numbe 阅读全文
摘要:
You are given two integers N,CN,C and two integer sequences aa and bb of length NN. The sequences are indexed from 11 to NN. Please solve the followin 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/884/B来源:牛客网 题目描述 Your are given n sets.Every set contains some integers. We say a set can express an integer, o 阅读全文