上一页 1 2 3 4 5 6 ··· 40 下一页
摘要: 题目链接: "LeetCode 638 Shopping Offers" 题解 dynamic programing 需要用到进制转换来表示状态,或者可以直接用一个vector来保存状态。 代码 1、未优化,超时代码: class Solution { public: int max(int x,i 阅读全文
posted @ 2017-07-20 10:26 fenicnn 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1、中文乱码 问题描述: 利用vs2008调试的时候正常,发布到IIS8.5上的时候,当查询语句中包含中文的时候会乱码,比如"select from tb where name='小s'",则到oracle数据库的时候会变成"select from tb where name='?s'" 解决方案: 阅读全文
posted @ 2017-04-23 14:26 fenicnn 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://codeforces.com/contest/734/problem/D" D. Anton and Chess time limit per test4 secondsmemory limit per test256 megabytes 问题描述 Anton likes 阅读全文
posted @ 2016-12-10 23:37 fenicnn 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://codeforces.com/contest/740/problem/D" D. Alyona and a tree time limit per test2 secondsmemory limit per test256 megabytes 问题描述 Alyona ha 阅读全文
posted @ 2016-12-06 16:29 fenicnn 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=1171" Big Event in HDU Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Othe 阅读全文
posted @ 2016-12-04 14:40 fenicnn 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=3401" Trade Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) 问题描述 Rece 阅读全文
posted @ 2016-12-04 10:43 fenicnn 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5976" Detachment Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) 问题描述 阅读全文
posted @ 2016-11-07 11:20 fenicnn 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5973" Game of Taking Stones Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/O 阅读全文
posted @ 2016-11-06 23:36 fenicnn 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5113" Black And White Time Limit: 2000/2000 MS (Java/Others)Memory Limit: 512000/512000 K (Java/Other 阅读全文
posted @ 2016-11-04 02:15 fenicnn 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5115" Dire Wolf Time Limit: 5000/5000 MS (Java/Others)Memory Limit: 512000/512000 K (Java/Others) 问题描 阅读全文
posted @ 2016-11-04 00:00 fenicnn 阅读(126) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 40 下一页