08 2018 档案
摘要:题目描述 很久很久以前,森林里住着一群兔子。有一天,兔子们想要研究自己的 DNA 序列。我们首先选取一个好长好长的 DNA 序列(小兔子是外星生物,DNA 序列可能包含 26 个小写英文字母),然后我们每次选择两个区间,询问如果用两个区间里的 DNA 序列分别生产出来两只兔子,这两个兔子是否一模一样
阅读全文
摘要:题目描述 A lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), other than the origin, is visible from the origin
阅读全文
摘要://十进制转成m进制#include #define ll long long #define ull unsigned long long #define ld long double #define maxn 20010 using namespace std; int n,m,l; char s[10000]; int main() { cin>>n>>m; while(...
阅读全文
摘要:题目描述 The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number theoreti
阅读全文
摘要:来源:https://blog.csdn.net/lyy289065406/article/details/6648539 题目描述 Consider two natural numbers A and B. Let S be the sum of all natural divisors of A
阅读全文
摘要:题目描述 求有多少种长度为n的序列A,满足以下条件:1~n这n个数在序列中各出现了一次若第i个数A[i]的值为i,则称i是稳定的。序列恰好有m个数是稳定的满足条件的序列可能很多,序列数对10^9+7取模。 输入 第一行一个数 T,表示有 T 组数据。接下来 T 行,每行两个整数 n、m。T=5000
阅读全文

浙公网安备 33010602011771号