随笔分类 -  DP

http://115.159.40.116/contest_show.php?cid=11#info
摘要:1.多窗口操作 有些页面的链接打开后,会重新打开一个窗口,对于这种情况,想在新页面上操作,就得先切换窗口了。获取窗口的唯一标识用句柄表示,所以只需要切换句柄,我们就能在多个页面上灵活自如的操作了。 句柄(handle):识别浏览器窗口的属性 获取当前窗口的句柄:driver.current_wind 阅读全文
posted @ 2018-06-14 11:45 枫虹 阅读(873) 评论(0) 推荐(0)
摘要:题意: 要求找到的体重递增,速度递减的老鼠,并且输出最长的长度数,而且输出各自的序列数。(Special Judge 说明答案不唯一,只要输出的答案正确就可以) 阅读全文
posted @ 2016-03-20 21:21 枫虹 阅读(242) 评论(0) 推荐(0)
摘要:H. Tickets Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the f... 阅读全文
posted @ 2016-03-19 14:22 枫虹 阅读(287) 评论(0) 推荐(0)
摘要:设a[i][j]为第i秒的j位置掉下的馅饼数量,f[i][j]为第i秒在j位置接馅饼最多可以接到的最多馅饼数量。由于每秒只能移动一个位置,因此这一状态可能由三种情况达到: 这三种情况中的最大值加上当前位置可以接到的馅饼数即是当前位置可以接到的最大馅饼数量: DP为: f [ i ] [ j ] =  阅读全文
posted @ 2016-03-19 13:17 枫虹 阅读(889) 评论(1) 推荐(0)
摘要:A. Max Sum Plus Plus Now I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more diff... 阅读全文
posted @ 2016-03-18 08:47 枫虹 阅读(327) 评论(0) 推荐(0)
摘要:Time Limit: 1000ms 64-bit integer IO format: Java class name: Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular 阅读全文
posted @ 2016-03-17 19:46 枫虹 阅读(228) 评论(0) 推荐(0)
摘要:题目链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=87125#problem/B 题目: Description Input Output Sample Input Sample Output 阅读全文
posted @ 2015-08-14 20:37 枫虹 阅读(693) 评论(0) 推荐(0)