会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
茄子Min
起舞弄清影,何似在人间。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
27
28
29
30
31
32
33
34
35
···
55
下一页
2019年8月3日
Gcd HDU - 6545 (基础数论)
摘要: wls 有一个整数 n,他想将 1 − n 这 n 个数字分成两组,每一组至少有一个数,并且使得两组数字的和的最大公约数最大,请输出最大的最大公约数。 Input 输入一行一个整数 n。 2 ≤ n ≤ 1, 000, 000, 000 Output 输出一行一个整数表示答案。 Sample Inp
阅读全文
posted @ 2019-08-03 01:55 茄子Min
阅读(483)
评论(0)
推荐(0)
2019年8月2日
牛客练习赛47 A DongDong破密码 (异或性质,递推)
摘要: 链接:https://ac.nowcoder.com/acm/contest/904/A 来源:牛客网 DongDong破密码 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 DongDon
阅读全文
posted @ 2019-08-02 19:50 茄子Min
阅读(289)
评论(0)
推荐(0)
ACM常用之 异或运算的性质。
摘要: 
阅读全文
posted @ 2019-08-02 19:41 茄子Min
阅读(981)
评论(0)
推荐(0)
Wannafly挑战赛22 C 多项式(大数,多项式极限)
摘要: 链接:https://ac.nowcoder.com/acm/contest/160/C 来源:牛客网 多项式 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 求\lim\limits_{x
阅读全文
posted @ 2019-08-02 12:33 茄子Min
阅读(488)
评论(0)
推荐(0)
大数全能模板
摘要: ``` cpp const int MAXN=150; struct bign { int len, s[MAXN]; bign () { memset(s, 0, sizeof(s)); len = 1; } bign (int num) { this = num; } bign (const c
阅读全文
posted @ 2019-08-02 11:38 茄子Min
阅读(178)
评论(0)
推荐(0)
带gcd大数模板
摘要: ``` cpp int ten[4] = {1,10,100,1000}; typedef struct BigNumber { int d[1200]; BigNumber(string s) { int i, j, k, len; len = s.size(); d[0] = (len-1)/4+1; fo...
阅读全文
posted @ 2019-08-02 11:37 茄子Min
阅读(221)
评论(0)
推荐(0)
Wannafly挑战赛22 D 整数序列 (线段树维护三角函数值)
摘要: 链接:https://ac.nowcoder.com/acm/contest/160/D 来源:牛客网 整数序列 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 给出一个长度为n的整数序列a
阅读全文
posted @ 2019-08-02 02:25 茄子Min
阅读(231)
评论(0)
推荐(0)
2019年8月1日
P5200 [USACO19JAN]Sleepy Cow Sorting 牛客假日团队赛6 D 迷路的牛 (贪心)
摘要: 链接:https://ac.nowcoder.com/acm/contest/993/E 来源:牛客网 对牛排序 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 Farmer John正在尝试将
阅读全文
posted @ 2019-08-01 20:13 茄子Min
阅读(394)
评论(0)
推荐(0)
牛客假日团队赛6 D 迷路的牛 (思维)
摘要: 链接:https://ac.nowcoder.com/acm/contest/993/D 来源:牛客网 迷路的牛 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 Farmer John的三头获奖
阅读全文
posted @ 2019-08-01 19:34 茄子Min
阅读(266)
评论(0)
推荐(0)
牛客假日团队赛5J 护城河 bzoj 1670: [Usaco2006 Oct]Building the Moat护城河的挖掘 (凸包的周长)
摘要: 链接:https://ac.nowcoder.com/acm/contest/984/J 来源:牛客网 护城河 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 为了防止口渴的食蚁兽进入他的农场,
阅读全文
posted @ 2019-08-01 18:17 茄子Min
阅读(167)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
34
35
···
55
下一页
公告