04 2015 档案
摘要:题目3 : 质数相关时间限制:2000ms单点时限:1000ms内存限制:256MB描述两个数a和 b (a#include #include #include #include #include #include #include #include #include #include #inclu...
阅读全文
摘要:转自:http://blog.csdn.net/tyger/article/details/4480029计算几何题的特点与做题要领:1.大部分不会很难,少部分题目思路很巧妙2.做计算几何题目,模板很重要,模板必须高度可靠。3.要注意代码的组织,因为计算几何的题目很容易上两百行代码,里面大部分是模板...
阅读全文
摘要:4423: NecklaceDescriptionbaihacker bought a necklace for his wife on their wedding anniversary.A necklace with N pearls can be treated as a circle wit...
阅读全文
摘要:Magic BraceletTime Limit:2000MSMemory Limit:131072KTotal Submissions:4727Accepted:1533DescriptionGinny’s birthday is coming soon. Harry Potter is prep...
阅读全文
摘要:基本步骤:1、新建Java工程,File>New>Project>Web>Dynamic Web Project,并将工程命名为:Struts2_Demo2、导入struts2的重要jar包到WebContent>lib下3、新建web.xml,右击WEB-INF>New>Other>XML>XML...
阅读全文
摘要:GCDTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7002Accepted Submission(s): 2577Problem Descrip...
阅读全文
摘要:CodeTime Limit:1000MSMemory Limit:30000KTotal Submissions:8539Accepted:4048DescriptionTransmitting and memorizing information is a task that requires ...
阅读全文
摘要:C. MUH and House of CardsPolar bears Menshykov and Uslada from the zoo of St. Petersburg and elephant Horace from the zoo of Kiev decided to build a h...
阅读全文
摘要:GCD & LCM InverseTime Limit:2000MSMemory Limit:65536KTotal Submissions:10621Accepted:1939DescriptionGiven two positive integers a and b, we can easily...
阅读全文
摘要:A -GCD - Extreme (II)DescriptionGiven the value of N, you will have to find the value of G. The definition of G is given below:HereGCD(i,j) means the ...
阅读全文
摘要:Strange Way to Express IntegersTime Limit:1000MSMemory Limit:131072KTotal Submissions:10907Accepted:3336DescriptionElina is reading a book written by ...
阅读全文
摘要:GridsTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 562Accepted Submission(s): 223Problem Descri...
阅读全文
摘要:swustoj 142猴子报数(0142)Time limit(ms): 1000Memory limit(kb): 65535Submission: 1338Accepted: 830问题描述:n个猴子围坐一圈并按照顺时针方向从1到n编号,从第s个猴子开始进行1到m的报数,报数到第m的猴子退出报数...
阅读全文
摘要:Prime LandTime Limit:1000MSMemory Limit:10000KTotal Submissions:3211Accepted:1473DescriptionEverybody in the Prime Land is using a prime base number s...
阅读全文
摘要:Cow SortingTime Limit:2000MSMemory Limit:65536KTotal Submissions:6287Accepted:2429DescriptionFarmer John'sN(1 ≤N≤ 10,000) cows are lined up to be milk...
阅读全文
摘要:Sorting by SwappingTime Limit:1000MSMemory Limit:10000KTotal Submissions:9514Accepted:5094DescriptionGiven a permutation of numbers from 1 to n, we ca...
阅读全文
摘要:原来一直以为数学不太重要每次看到数学题就不做了然而现在我发现我天真了各种数学就算不是数学题都要在里面夹点数学知识唉、硬伤先看一段时间数学再说还有好久都没发过博客了写博客激励一下自己吧
阅读全文
摘要:转自:http://blog.sina.com.cn/s/blog_6635898a0100magq.html1.burnside定理,polya计数法 这个大家可以看brudildi的《组合数学》,那本书的这一章写的很详细也很容易理解。最好能完全看懂了,理解了再去做题,不要只记个公式。 *简单题:...
阅读全文
摘要:转自:http://www.cnblogs.com/hellojava/archive/2012/12/28/2835730.html前言:一般的web工程中都会用到web.xml,web.xml主要用来配置,可以方便的开发web工程。web.xml主要用来配置Filter、Listener、Ser...
阅读全文
摘要:转自:http://www.cnblogs.com/fmricky/archive/2010/05/20/1740479.htmlstruts.xml是我们在开发中利用率最高的文件,也是Struts2中最重要的配置文件。一下分别介绍一下几个struts.xml中常用到的标签1、利用include标签...
阅读全文
摘要:第一次出校比赛比赛时间:电子科技大学校赛:2015.4.4 周六四川大学校赛:2015.4.6 周一之前本以为可以愉快地正大光明地不上课出去玩玩,不过后来才发现正值清明节,好像亏了,并不能好好滴玩耍,不过少上了4节课也是不错的,哈哈。4.3上午11点从学校出发,坐27路公交到圣水寺转车,然而发现时间...
阅读全文