Feb 9 Thursday Sunn     I start my daily writing again.So funny~,because i always do sth again and again then give up,begin,end,start,finish~~,like circle which never be terminated.
原创 2009-12-08 17:22:55
772阅读
Happy New Year ! I'll miss you !!
原创 2008-02-03 21:16:02
443阅读
题意给定你n个点,每个点可以停在原地或者向左向右,问最多能有多少个不重合的点 还有 最少能有多少个点。解题报告:看题目就感觉是dp题 但听大佬说不能dp做?但我抱着侥幸的心里写了写dp,一开始确实wa了,后来看了看状态转移 ,我们dp数组定义的是考虑前i个人并且第i个人的状态是向左、向右、不动 ,如果每个状态都能被三个状态转移的话 ,其实是有问题的,我们没有保证i-1个的坐标是比i要小于等于的,如果上一个人的坐标比i大 那么就会有问题 例如dp[i][2]还是会被dp[i][1]所更新到,所以我想把状.
原创 2021-07-09 14:04:54
90阅读
The New Year has passed. The day before yesterday was the Lantern Festival. The end of the Lantern Festival represents the official start of the new year. Last year I failed in my postgraduate entranc
原创 2023-02-07 10:14:31
76阅读
Rose 很有趣的题目一道 显然的贪心就是按照时间顺序做,先最耗时短的,零点前的都零点交,零点后的都做完就交 正确性怎样保证呢 我们按照这个耗时进行排名后,假如交换两个任务的话 如果这两个任务都再零点前,没有影响, 如果后一个任务跨零点了,那么交换以后,后面的任务的罚时不会变,但前面的任务有可能也要 ...
转载 2021-10-02 11:30:00
93阅读
2评论
"C. New Year and Permutation" 参考: "Codeforces Round Hello
原创 2022-11-03 15:21:36
38阅读
Bob programmed a robot to navigate through a 2d maze. The maze has some obstacles. Empty cells are denoted by the character '.', where obstacles are d
转载 2018-01-27 08:44:00
168阅读
New year comes again New year is coming again.Ithink thatIshouldtype some words on my blogas usual to mark these special days. soit canmake me remmberthese days after...
原创 2021-12-14 11:38:25
80阅读
New year comes again New year is coming again.Ithink thatIshouldtype some words on my blogas usual to mark these special days. soit canmake me remmberthese days after...
原创 2022-04-20 22:44:58
278阅读
ha
原创 2021-08-03 10:02:51
265阅读
New Year Table Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 140A New Year Table Submit Stat
转载 2016-05-13 13:37:00
56阅读
2评论
Happy New Year!
转载 2021-08-17 13:34:38
137阅读
Your friend has n cards. You know that each card has a lowercase English letter on one side and a digit on the other. Currently, your friend has laid
转载 2018-01-26 22:23:00
219阅读
New year is coming again.I think that I should type some words on my b
原创 2021-09-07 15:30:24
80阅读
祝各位朋友圣诞节快乐! 工作顺心,身体健康,万事如意!
原创 2010-12-24 10:22:11
656阅读
2点赞
   好长一段时间没上了,今天要不是因为"工作报告"的原因,可能我还真的忘记这里了,呵呵~~还是说正文把:     时间过的真快啊,转眼间一学期又结束了,我们昨天就考试完了,放假了,可以回家了,本来应该开心才对的,但对我们来说,怎么也不会那么开心的,因为我们"毕业"了,明年上学期几乎是没什么课的了, 毕业就是失业, 不知道是不是真的,常听朋友说,
原创 2006-12-28 22:35:40
648阅读
1评论
codeforces-379A. New Year Candles 好久没有刷CF了,今天兴致起了,就上了个水题。发现新大陆,CF上的ACCEPTED变成了happ new year!好有爱哦! 哈哈,这题够简单吧,做错的非菜鸟同志,自己面壁去。。。  为菜鸟写的解题报告。 要是小菜鸟做错了,我原谅你,加油!同时告诉你ACM毁大学,AC毁一生,和吸毒没两样。我这不就
原创 2014-01-03 13:48:00
828阅读
​        程序员送上祝福的方式总是非常的特别,因为你根本想不到他会用代码写个什么程序来送上他的祝福、表达他的浪漫。在春节到来之际,很多程序员用各种语言送上了 “Happy New Year” 这样的祝福。​​        有的使用 PHP,有的使用 Java,有的使用 JavaScript
原创 2022-04-07 11:36:25
195阅读
#include<iostream> //二分答案后贪心验证可行性using namespace std;int n,m,arr[1000];bool verify(int c) //对组数c进行二分{ int p=0; for(int i=0;i<n;++i) p+=min(arr[i],c); //如果arr[i]<c,自然是加上arr[i];若arr[i]>=c,因为一共就c组,所以只能取c if(p>=m*c) //c组,每组 m 条项链,返回1说明可以分成 c组 return 1; return 0;}int main(){ while(cin&g
转载 2011-07-05 02:21:00
53阅读
New Year Bonus GrantTime Limit: 5000msMemory Limit: 32768KBThis problem will be judged onZJU. Original ID:231564-bit integer IO format:%lld Java class...
转载 2014-09-29 17:15:00
80阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5