摘要:
Description 过去的日子里,农夫John的牛没有任何题目. 可是现在他们有题目,有很多的题目.精确地说,他们有P (1 #includeusing namespace std;int n,p,ans;int a[1010],b[1010],sa[1010]... 阅读全文
摘要:
Description 每天,农夫 John 的N(1 =l1) and (r1>=r) then exit(mt[tie]); mid:=(l+r) div 2; ans:=-maxlongint; if mid>=l1 then ans:=sou(l,mid... 阅读全文