摘要: 问题描述某一天,GTW听了数学特级教师金龙鱼的课之后,开始做数学《从自主招生到竞赛》。然而书里的题目太多了,GTW还有很多事情要忙(比如把妹),于是他把那些题目交给了你。每一道题目会给你一个函数fxax2bxcf(x)=ax​2​​+bx+c,求这个函数在整数区间lr[l,r]之间的最值。输入描述第... 阅读全文
posted @ 2015-12-12 20:22 yi天 阅读(130) 评论(0) 推荐(0)
摘要: 从前,有nn只萌萌的GT,他们分成了两组在一起玩游戏。他们会排列成一排,第ii只GT会随机得到一个能力值bib​i​​。在第ii秒的时候,第ii只GT可以消灭掉所有排在他前面的和他不是同一组的且能力值小于他的GT。为了使游戏更加有趣,GT的首领GTW会发功mm次,第ii次发功的时间为cic​i​​,... 阅读全文
posted @ 2015-12-12 20:19 yi天 阅读(172) 评论(0) 推荐(0)
摘要: Problem DescriptionZYBplayed a game namedNumberBombwith his classmates in hiking:a host keeps a number in[1,N]in mind,thenplayers guess a number in tu... 阅读全文
posted @ 2015-12-09 15:28 yi天 阅读(107) 评论(0) 推荐(0)
摘要: Problem DescriptionAfter getting600scores inNOIPZYB(ZJ−267)begins to work with biological questions.Now he give you a simple biological questions:he g... 阅读全文
posted @ 2015-12-09 15:27 yi天 阅读(121) 评论(0) 推荐(0)
摘要: Problem DescriptionThere is a number sequence A1,A2....An ,you can select a interval [l,r] or not,all the numbers Ai(l≤i≤r) will become f(Ai) .f(x)=(1... 阅读全文
posted @ 2015-12-04 10:48 yi天 阅读(155) 评论(0) 推荐(0)
摘要: Problem DescriptionThere is a number N.You should output "YES" if N is a multiple of 2, 3 or 5,otherwise output "NO".InputThere are multiple test case... 阅读全文
posted @ 2015-12-04 10:43 yi天 阅读(131) 评论(0) 推荐(0)