随笔分类 -  数学

摘要:E. Jzzhu and Apples time limit per test: 1 seconds memory limit per test: 256 megabytes input: standard input output: standard output Jzzhu has picked 阅读全文
posted @ 2019-10-11 18:52 友人-A 阅读(195) 评论(0) 推荐(0) 编辑
摘要:A permutation p of size n is an array such that every integer from 1 to n occurs exactly once in this array. Let's call a permutation an almos 阅读全文
posted @ 2019-09-22 20:46 友人-A 阅读(402) 评论(0) 推荐(0) 编辑
摘要:链接:https://ac.nowcoder.com/acm/contest/634/C?tdsourcetag=s_pcqq_aiomsg 来源:牛客网 题目描述 给出一个区间[L,R],求出[L,R]中孪生质数有多少对。 由于这是一个区间筛质数的模板题。所以小k不屑于去写。 所以出题人只 阅读全文
posted @ 2019-09-17 14:23 友人-A 阅读(134) 评论(0) 推荐(0) 编辑
摘要:阿克曼函数(Ackermann)是非原始递归函数的例子。它需要两个自然数作为输入值,输出一个自然数。它的输出值增长速度非常快,仅是对于(4,3)的输出已大得不能准确计算。 $$ A(m, n)=\left\{\begin{array}{ll}{n+1} & {m=0} \\ {A(m 1,1)} & 阅读全文
posted @ 2019-08-21 17:05 友人-A 阅读(2008) 评论(0) 推荐(1) 编辑
摘要:Count Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1187 Accepted Submission(s): 433 Problem De 阅读全文
posted @ 2019-08-18 17:42 友人-A 阅读(244) 评论(0) 推荐(0) 编辑
摘要:B. Divisiblity of Differences You are given a multiset of n integers. You should select exactly k of them in a such way that the difference between an 阅读全文
posted @ 2019-08-18 16:55 友人-A 阅读(290) 评论(0) 推荐(0) 编辑
摘要:Fansblog Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Farmer John keeps a website called ‘Fans 阅读全文
posted @ 2019-07-30 08:49 友人-A 阅读(461) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
more_horiz
keyboard_arrow_up light_mode palette
选择主题