摘要:
Description Farmer John has taken the cows to a vacation out on the ocean! The cows are living on N (1 include include include include define inf 0x7f 阅读全文
posted @ 2018-02-04 21:36
Wolfycz
阅读(210)
评论(0)
推荐(0)
摘要:
Description 上下有两个长度为n、位置对应的序列A、B, 其中数的范围均为1~n。若abs(A[i] B[j]) include include include include define inf 0x7f7f7f7f using namespace std; typedef long 阅读全文
posted @ 2018-02-04 21:35
Wolfycz
阅读(152)
评论(0)
推荐(0)
摘要:
Description 给定长度为2N的序列,1~N各处现过2次,i第一次出现位置记为ai,第二次记为bi,求满足ai include include include include define lowbit(x) ((x)&( x)) define inf 0x7f7f7f7f using na 阅读全文
posted @ 2018-02-04 21:35
Wolfycz
阅读(188)
评论(0)
推荐(0)
摘要:
Description 有一幅n n的方格图,n include include include include define inf 0x7f7f7f7f using namespace std; typedef long long ll; typedef unsigned int ui; typ 阅读全文
posted @ 2018-02-04 21:34
Wolfycz
阅读(193)
评论(0)
推荐(0)
摘要:
Description Having become bored with standard 2 dimensional artwork (and also frustrated at others copying her work), the great bovine artist Picowso 阅读全文
posted @ 2018-02-04 17:07
Wolfycz
阅读(252)
评论(0)
推荐(0)
摘要:
Description 约翰到奶牛商场里买工具.商场里有K(1≤K≤100).种工具,价格分别为1,2,…,K美元.约翰手里有N(1≤N≤1000)美元,必须花完.那他有多少种购买的组合呢? Input A single line with two space separated integers: 阅读全文
posted @ 2018-02-04 17:06
Wolfycz
阅读(138)
评论(0)
推荐(0)
摘要:
Description Farmer John's N (1 include include include include define inf 0x7f7f7f7f using namespace std; typedef long long ll; typedef unsigned int u 阅读全文
posted @ 2018-02-04 17:05
Wolfycz
阅读(280)
评论(0)
推荐(0)
摘要:
Day0 下午来到熟悉的长沙理工,简单到考场转转就各自散了。回宾馆后有点淡淡的焦虑…… 晚上被教练喊去开机房人民代表大会,大家简单讨论了一下,回去后找wzy要了个对拍,然后就带着焦虑睡下了。 Day1 进考场后发现机子显示器崩了……吓坏,怕不是个好兆头。然后看下题目,T1感觉可写,T2貌似有点难度, 阅读全文
posted @ 2018-02-04 17:05
Wolfycz
阅读(212)
评论(0)
推荐(0)
摘要:
Description 农民John的某 N 头奶牛 (1 include include include include define inf 0x7f7f7f7f using namespace std; typedef long long ll; typedef unsigned int ui 阅读全文
posted @ 2018-02-04 17:04
Wolfycz
阅读(218)
评论(0)
推荐(0)
摘要:
Description One of the most popular attractions at the county fair is the climbing wall. Bessie wants to plan her trip up the wall in advance and need 阅读全文
posted @ 2018-02-04 17:03
Wolfycz
阅读(226)
评论(0)
推荐(0)
摘要:
Description Farmer John has returned to the County Fair so he can attend the special events (concerts, rodeos, cooking shows, etc.). He wants to atten 阅读全文
posted @ 2018-02-04 17:03
Wolfycz
阅读(260)
评论(0)
推荐(0)